Networks

Avalanche C-Chain

Everything on this page is generated from the running deployment. If a capability stops being served, the row for it changes rather than staying true-looking.

WhatMethod On Avalanche C-ChainNotes
Read a balancebalance.getAvailableNative and token balances, by contract address.
Read network statenetwork.statusAvailableThe engine's lifecycle, bootstrap, continuity and observation axes.
Watch for a paymentpayments/watchAvailableFollowed by the light acquisition path, one bounded read per pass.

Avalanche C-Chain is EVM, chain id 43114. Its engine here is avalanche.

What Avalanche C-Chain means by settled

Reported in this chain’s own vocabulary. It is never translated into a shared “confirmed”, because the translation is where the money goes missing.

This chain has a protocol condition for finality: a block either meets it or does not, and waiting longer does not make a block that has met it any more final. Depth is not meaningful here.

  • The strongest thing Avalanche C-Chain says is ACCEPTED.
  • Its intermediate condition is ACCEPTED.
  • Depth is not what settles a block here, so this deployment does not count to one.

Paying on Avalanche C-Chain

This deployment follows Avalanche C-Chain for payments and can watch one destination for one asset.

  • The asset this deployment can identify here is USDT (TetherToken), named as 0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7, with 6 decimals read from the contract rather than assumed.
  • Amounts are compared as an integer count of the smallest unit. A float would round, and a rounded payment is a dispute.
  • Detection and settlement are separate standings. You choose which one your checkout ships on.

The address is the whole destination on this network; no routing value is needed.

A first request

curl https://api.stonereason.com/v1/rpc \
  -H 'authorization: Bearer $XRPC_KEY' \
  -H 'content-type: application/json' \
  -d '{"method":"balance.get","network":"avalanche",
       "address":"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"}'

Omit asset for the native coin; name a contract address to read a token. Your key must be scoped to avalanche and to a product that carries balance.get.

Known limitations on Avalanche C-Chain