HomeDocumentationAPI Reference
Log In
API Reference

Get Deposit History

Method Name

private/get_deposit_history

Get subaccount deposit history.
Required minimum session key permission level is read_only

Parameters

subaccount_idintegerrequired
Subaccount id
end_timestampinteger
End timestamp of the event history in ms since Unix epoch (default current time)
start_timestampinteger
Start timestamp of the event history in ms since Unix epoch (default 0)

Response

idstring or integerrequired
resultobjectrequired
result.eventsarray of objectsrequired
List of deposit payments
result.events[].amountstringrequired
Amount deposited by the subaccount
result.events[].assetstringrequired
Asset deposited
result.events[].error_logobject or nullrequired
If failed, error log for reason
result.events[].timestampintegerrequired
Timestamp of the deposit (in ms since UNIX epoch)
result.events[].transaction_idstringrequired
Transaction ID
result.events[].tx_hashstringrequired
Hash of the transaction that deposited the funds
result.events[].tx_statusstringrequired
Status of the transaction that deposited the funds
enum requestedpendingsettledrevertedignoredtimed_out

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}