List transfers
Get a list of transfers to/from/either a public key
Query Parameters
Public key for which to request transfers, this can be a party ID, "0000000000000000000000000000000000000000000000000000000000000000" for the global rewards account, or "network".
Possible values: [TRANSFER_DIRECTION_UNSPECIFIED
, TRANSFER_DIRECTION_TRANSFER_FROM
, TRANSFER_DIRECTION_TRANSFER_TO
, TRANSFER_DIRECTION_TRANSFER_TO_OR_FROM
]
Default value: TRANSFER_DIRECTION_UNSPECIFIED
Transfer directions - i.e. sender, receiver - to include in the response data.
Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.
If paging forwards, the cursor string for the last row of the previous page.
Number of records to be returned that sort less than row identified by cursor supplied in 'before'.
If paging forwards, the cursor string for the first row of the previous page.
Newest records first, older records last, default is true.
- 200
- 500
- default
A successful response.
Schema
transfers object
Page of transfers data and corresponding page information.
edges object[]
Page of transfers data and their corresponding cursors.
node object
Data relating to a transfer that has been made.
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
]
oneOff object
recurring object
dispatchStrategy object
Possible values: [DISPATCH_METRIC_UNSPECIFIED
, DISPATCH_METRIC_MAKER_FEES_PAID
, DISPATCH_METRIC_MAKER_FEES_RECEIVED
, DISPATCH_METRIC_LP_FEES_RECEIVED
, DISPATCH_METRIC_MARKET_VALUE
]
Possible values: [STATUS_UNSPECIFIED
, STATUS_PENDING
, STATUS_DONE
, STATUS_REJECTED
, STATUS_STOPPED
, STATUS_CANCELLED
]
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
]
pageInfo object
Page information that is used for fetching further pages.
{
"transfers": {
"edges": [
{
"cursor": "string",
"node": {
"amount": "string",
"asset": "string",
"from": "string",
"fromAccountType": "ACCOUNT_TYPE_UNSPECIFIED",
"id": "string",
"oneOff": {
"deliverOn": "string"
},
"reason": "string",
"recurring": {
"dispatchStrategy": {
"assetForMetric": "string",
"markets": [
"string"
],
"metric": "DISPATCH_METRIC_UNSPECIFIED"
},
"endEpoch": "string",
"factor": "string",
"startEpoch": "string"
},
"reference": "string",
"status": "STATUS_UNSPECIFIED",
"timestamp": "string",
"to": "string",
"toAccountType": "ACCOUNT_TYPE_UNSPECIFIED"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
}
}
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"
}