Skip to main content
Version: mainnet (v0.71)

AccountUpdate

An account record used for subscriptions

type AccountUpdate {
balance: String!
assetId: ID!
type: AccountType!
marketId: ID
partyId: ID!
}

Fields

AccountUpdate.balance ● String! non-null scalar

Balance as string - current account balance (approx. as balances can be updated several times per second)

AccountUpdate.assetId ● ID! non-null scalar

Asset id, the 'currency'

AccountUpdate.type ● AccountType! non-null enum

Account type (General, Margin, etc)

AccountUpdate.marketId ● ID scalar

Market id (only relevant to margin accounts)

AccountUpdate.partyId ● ID! non-null scalar

The party owning the account

Returned by

accounts subscription