The networks your organisation can use
const url = 'https://api.sotirea.com/v1/networks';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/networks \ --header 'Authorization: Bearer <token>'Every network of your key’s environment that Sotirea runs: its CAIP-2 id, its coin, how long a movement takes to be final there, the tokens Sotirea recognises on it, and whether payments are open there now. A network or token that is not available right now is left out; what you hold there still shows in your balances, marked paused, and a payment there is refused with network_unavailable or asset_unavailable.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done.
object
object
The network’s own coin, the one its fees are paid in from your gas pool.
object
Test or live, the same as your key’s.
The same in words: seconds, or about so many minutes.
How long a deposit or payment usually takes to be final and counted, in seconds.
The network’s CAIP-2 id, like eip155:1: what vaults, balances and payments name it by.
Whether payments can be sent on this network now. Deposits are received either way.
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}