Chains that support deposit addresses
GET
/deposits/chains
const url = 'https://hub.stablezact.com/api/v1/deposits/chains';const options = {method: 'GET'};
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://hub.stablezact.com/api/v1/deposits/chainsEleven chains at the time of writing. This is narrower than the list of networks the API accepts generally, so check here before offering a deposit-address payment on a given chain.
Responses
Section titled “Responses”The chains.
Media typeapplication/json
object
success
boolean
chains
Array<object>
object
chainId
string
name
string
confirmations
Confirmations required before the deposit is treated as settled.
integer
explorer
string format: uri
Examplegenerated
{ "success": true, "chains": [ { "chainId": "example", "name": "example", "confirmations": 1, "explorer": "https://example.com" } ]}