Observe ledger movements
Subscribe to a stream of transfer responses
- 200
- 500
- default
A successful response.(streaming responses)
Schema
error object
details object[]
result object
ledgerMovement object
Ledger movements data with list of ledger entries and and post-transfer balances.
balances object[]
Resulting balances once the ledger movement are applied.
account object
Account relating to the transfer.
Possible values: [ACCOUNT_TYPE_UNSPECIFIED
, ACCOUNT_TYPE_INSURANCE
, ACCOUNT_TYPE_SETTLEMENT
, ACCOUNT_TYPE_MARGIN
, ACCOUNT_TYPE_GENERAL
, ACCOUNT_TYPE_FEES_INFRASTRUCTURE
, ACCOUNT_TYPE_FEES_LIQUIDITY
, ACCOUNT_TYPE_FEES_MAKER
, ACCOUNT_TYPE_BOND
, ACCOUNT_TYPE_EXTERNAL
, ACCOUNT_TYPE_GLOBAL_INSURANCE
, ACCOUNT_TYPE_GLOBAL_REWARD
, ACCOUNT_TYPE_PENDING_TRANSFERS
, ACCOUNT_TYPE_REWARD_MAKER_PAID_FEES
, ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES
, ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES
, ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS
]
entries object[]
All the entries for these ledger movements.
fromAccount object
One or more accounts to transfer from.
Possible values: [ACCOUNT_TYPE_UNSPECIFIED
, ACCOUNT_TYPE_INSURANCE
, ACCOUNT_TYPE_SETTLEMENT
, ACCOUNT_TYPE_MARGIN
, ACCOUNT_TYPE_GENERAL
, ACCOUNT_TYPE_FEES_INFRASTRUCTURE
, ACCOUNT_TYPE_FEES_LIQUIDITY
, ACCOUNT_TYPE_FEES_MAKER
, ACCOUNT_TYPE_BOND
, ACCOUNT_TYPE_EXTERNAL
, ACCOUNT_TYPE_GLOBAL_INSURANCE
, ACCOUNT_TYPE_GLOBAL_REWARD
, ACCOUNT_TYPE_PENDING_TRANSFERS
, ACCOUNT_TYPE_REWARD_MAKER_PAID_FEES
, ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES
, ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES
, ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS
]
toAccount object
One or more accounts to transfer to.
Possible values: [ACCOUNT_TYPE_UNSPECIFIED
, ACCOUNT_TYPE_INSURANCE
, ACCOUNT_TYPE_SETTLEMENT
, ACCOUNT_TYPE_MARGIN
, ACCOUNT_TYPE_GENERAL
, ACCOUNT_TYPE_FEES_INFRASTRUCTURE
, ACCOUNT_TYPE_FEES_LIQUIDITY
, ACCOUNT_TYPE_FEES_MAKER
, ACCOUNT_TYPE_BOND
, ACCOUNT_TYPE_EXTERNAL
, ACCOUNT_TYPE_GLOBAL_INSURANCE
, ACCOUNT_TYPE_GLOBAL_REWARD
, ACCOUNT_TYPE_PENDING_TRANSFERS
, ACCOUNT_TYPE_REWARD_MAKER_PAID_FEES
, ACCOUNT_TYPE_REWARD_MAKER_RECEIVED_FEES
, ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES
, ACCOUNT_TYPE_REWARD_MARKET_PROPOSERS
]
Possible values: [TRANSFER_TYPE_UNSPECIFIED
, TRANSFER_TYPE_LOSS
, TRANSFER_TYPE_WIN
, TRANSFER_TYPE_MTM_LOSS
, TRANSFER_TYPE_MTM_WIN
, TRANSFER_TYPE_MARGIN_LOW
, TRANSFER_TYPE_MARGIN_HIGH
, TRANSFER_TYPE_MARGIN_CONFISCATED
, TRANSFER_TYPE_MAKER_FEE_PAY
, TRANSFER_TYPE_MAKER_FEE_RECEIVE
, TRANSFER_TYPE_INFRASTRUCTURE_FEE_PAY
, TRANSFER_TYPE_INFRASTRUCTURE_FEE_DISTRIBUTE
, TRANSFER_TYPE_LIQUIDITY_FEE_PAY
, TRANSFER_TYPE_LIQUIDITY_FEE_DISTRIBUTE
, TRANSFER_TYPE_BOND_LOW
, TRANSFER_TYPE_BOND_HIGH
, TRANSFER_TYPE_WITHDRAW
, TRANSFER_TYPE_DEPOSIT
, TRANSFER_TYPE_BOND_SLASHING
, TRANSFER_TYPE_REWARD_PAYOUT
, TRANSFER_TYPE_TRANSFER_FUNDS_SEND
, TRANSFER_TYPE_TRANSFER_FUNDS_DISTRIBUTE
, TRANSFER_TYPE_CLEAR_ACCOUNT
, TRANSFER_TYPE_CHECKPOINT_BALANCE_RESTORE
]
{
"error": {
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
},
"result": {
"ledgerMovement": {
"balances": [
{
"account": {
"assetId": "string",
"marketId": "string",
"owner": "string",
"type": "ACCOUNT_TYPE_UNSPECIFIED"
},
"balance": "string"
}
],
"entries": [
{
"amount": "string",
"fromAccount": {
"assetId": "string",
"marketId": "string",
"owner": "string",
"type": "ACCOUNT_TYPE_UNSPECIFIED"
},
"fromAccountBalance": "string",
"timestamp": "string",
"toAccount": {
"assetId": "string",
"marketId": "string",
"owner": "string",
"type": "ACCOUNT_TYPE_UNSPECIFIED"
},
"toAccountBalance": "string",
"type": "TRANSFER_TYPE_UNSPECIFIED"
}
]
}
}
}
An internal server error
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}