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