The coin set aside to pay network fees, on each network
GET
/v1/gas-pools
const url = 'https://api.sotirea.com/v1/gas-pools';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/gas-pools \ --header 'Authorization: Bearer <token>'Sotirea pays every payment’s network fee from your gas pool on that network, never from the money being sent. Send the network’s own coin to a pool’s address to fill it.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done.
Media typeapplication/json
object
data
required
Array<object>
object
address
required
Send the network’s own coin here to fill the pool.
string
available
required
string
chain_id
required
string
chain_name
required
string
low
required
boolean
low_balance
required
The level below which your organisation is warned; 0 is off.
string
paused
required
The network is not available right now: the pool keeps what it holds and still warns when low, but no payment is sent there until it is.
boolean
spendable
required
string
symbol
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}