Balances
The private.user.balances
feed provides you with real-time updates on changes to your account balances, including Web3 wallet balances updates.
Updates reflect your balances inclusive of completed, partially completed, or pending transactions, orders, and transfers. For example, a given balance update does reflect outstanding and/or partially filled orders.
Subscribing
Feed name |
|
Balances Message
There are 2 types of balances message payloads:
Account balances: Your trading/custody account balances (Refer to Get All Balances for payload and balance object details).
Web3 wallet balances: Your account's Web3 wallet balances (see below for payload details). Web3 wallet messages can be identified by the
type
field.
Web3 Wallet Message
Key | Description |
---|---|
| The web3 wallet address |
| The total balance of this currency in your web3 wallet |
| The token network |
| Specifies that this is a Web3 balance message. ( |
Example Code
Last updated