One vault and its addresses
GET
/v1/vaults/{id}
const url = 'https://api.sotirea.com/v1/vaults/1';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/1 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
The vault’s id.
Responses
Section titled “Responses”Done.
Media typeapplication/json
object
data
required
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
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}