Your vaults, with the address to pay each one on every network
GET
/v1/vaults
const url = 'https://api.sotirea.com/v1/vaults';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/vaults \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”reference
string
Only the vault with this reference, your own id for it.
page
integer
Which page, from 1.
page_size
integer
How many per page, at most 100. 25 when not given.
Responses
Section titled “Responses”Done.
Media typeapplication/json
object
data
required
Array<object>
object
addresses
required
Where to pay the vault, one address per network.
Array<object>
object
address
required
string
chain_id
required
The network, in CAIP-2 form, like eip155:1.
string
chain_name
required
string
paused
required
The network is not available right now: money sent here is still credited, but do not show this address to be paid until it is available again.
boolean
created_at
required
string format: date-time
id
required
integer
name
required
string
meta
object
page
object
has_next
boolean
page
integer
page_size
integer
total
integer
total_pages
integer
request_id
Quote it when asking about a request; it is in the X-Request-Id header too.
string
success
required
Example
{ "success": true}default
Section titled “default”Refused or failed, in words a person can act on.
Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
meta
object
request_id
Quote it when asking about a request.
string
success
required
Example
{ "success": false}