Withdrawal
Get withdrawals of user
Required read permission of wallet
GET /viewer/withdrawals
Parameters
Name | Description | Example | Require |
---|---|---|---|
first | slicing count | 20 | false |
after | ask for the server to return withdrawals after the cursor | dGVzdGN1cmVzZQo= | fasle |
Response is a Withdrawal collection
{
"edges": [
{
"node": {
"id": 10,
"customer_id": "10",
"asset_id": "ETH",
"amount": "5",
"state": "CONFIRMED",
"note": "2018-03-15T16:13:45.610463Z",
"txid": "0x4643bb6b393ac20a6175c713175734a72517c63d6f73a3ca90a15356f2e967da0",
"completed_at": "2018-03-15T16:13:45.610463Z",
"inserted_at": "2018-03-15T16:13:45.610463Z",
"is_internal": true,
"target_address": "0x4643bb6b393ac20a6175c713175734a72517c63d6f7"
},
"cursor": "dGVzdGN1cmVzZQo="
}
],
"page_info": {
"end_cursor": "dGVzdGN1cmVzZQo=",
"start_cursor": "dGVzdGN1cmVzZQo=",
"has_next_page": true,
"has_previous_page": false
}
}