Money that came in, newest first
const url = 'https://api.sotirea.com/v1/deposits';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.sotirea.com/v1/deposits \ --header 'Authorization: Bearer <token>'A deposit is “arriving” from the moment it is seen on the network and “received” once final, when it is added to the vault’s available balance. One with sweep true is one of your sweeps moving your own money into one of your vaults, not somebody paying you: do not credit a customer for it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only this vault’s.
Which page, from 1.
How many per page, at most 100. 25 when not given.
Responses
Section titled “Responses”Done.
object
object
In the asset’s smallest unit.
Whether it is held for a compliance review: credited, but counted only in available, not spendable, until Sotirea releases it. Sotirea will contact you.
The network or asset is not available right now. The deposit is still credited.
True for the network’s coin and for tokens on Sotirea’s recognised list. Any other token’s symbol is whatever its contract calls itself, so do not trust it by name.
Arriving until the network has made it final, then received.
Whether one of your sweep rules moved it here from another of your vaults, rather than somebody paying you. Do not credit a customer for it.
object
object
Quote it when asking about a request; it is in the X-Request-Id header too.
Example
{ "success": true}default
Section titled “default”Refused or failed, in words a person can act on.
object
object
object
object
Quote it when asking about a request.
Example
{ "success": false}