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
private.user.balances
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
address
The web3 wallet address
balance
The total balance of this currency in your web3 wallet
network
The token network
type
Specifies that this is a Web3 balance message. (web3
)
Example Code
Last updated