See also interactive Avalanche API call examples.
Contract chain (C-Chain)
Method | Availability | Comment |
---|
eth_accounts | | |
eth_blockNumber | | |
eth_call | | |
eth_chainId | | |
eth_estimateGas | | |
eth_feeHistory | | |
eth_gasPrice | | |
eth_getAccount | | |
eth_getBalance | | |
eth_getBlockByHash | | |
eth_getBlockByNumber | | |
eth_getBlockReceipts | | |
eth_getBlockTransactionCountByHash | | |
eth_getBlockTransactionCountByNumber | | |
eth_getCode | | |
eth_getFilterChanges | | |
eth_getFilterLogs | | |
eth_getLogs | | |
eth_getProof | | |
eth_getStorageAt | | |
eth_getTransactionByBlockHashAndIndex | | |
eth_getTransactionByBlockNumberAndIndex | | |
eth_getTransactionByHash | | |
eth_getTransactionCount | | |
eth_getTransactionReceipt | | |
eth_getUncleCountByBlockHash | | |
eth_getUncleCountByBlockNumber | | |
eth_get_asset_balance | | |
eth_maxPriorityFeePerGas | | |
eth_newBlockFilter | | |
eth_newFilter | | |
eth_newPendingTransactionFilter | | |
eth_signTransaction | | |
eth_subscribe | | |
eth_syncing | | |
eth_uninstallFilter | | |
eth_unsubscribe | | |
eth_sendRawTransaction | | |
net_listening | | |
net_peerCount | | |
net_version | | |
txpool_content | | |
txpool_inspect | | |
txpool_contentFrom | | |
txpool_status | | |
web3_clientVersion | | |
web3_sha3 | | |
debug_getBadBlocks | | |
debug_storageRangeAt | | |
debug_getTrieFlushInterval | | |
debug_traceBlock | | |
debug_traceBlockByHash | | |
debug_traceBlockByNumber | | |
debug_traceCall | | |
debug_traceTransaction | | |
avax.getAtomicTx | | |
avax.getAtomicTxStatus | | |
avax.getUTXOs | | |
avax.issueTx | | |
admin_addPeer | | |
admin_addTrustedPeer | | |
admin_datadir | | |
admin_exportChain | | |
admin_importChain | | |
admin_nodeInfo | | |
admin_peerEvents | | |
admin_peers | | |
admin_removePeer | | |
admin_removeTrustedPeer | | |
admin_startHTTP | | |
admin_startWS | | |
admin_stopHTTP | | |
admin_stopWS | | |
Exchange chain (X-Chain)
Method | Availability | Comment |
---|
avm.buildGenesis | | |
avm.getAddressTxs | | |
avm.getAllBalances | | |
avm.getAssetDescription | | |
avm.getBalance | | |
avm.getBlockByHeight | | |
avm.getHeight | | |
avm.getTx | | |
avm.getTxStatus | | |
avm.getUtxOs | | |
avm.issueTx | | |
Method | Availability | Comment |
---|
platform.getBalance | | |
platform.getBlockchainStatus | | |
platform.getBlockchains | | |
platform.getCurrentSupply | | |
platform.getCurrentValidators | | |
platform.getFeeConfig | | |
platform.getFeeState | | |
platform.getHeight | | |
platform.getMinStake | | |
platform.getRewardUtxOs | | |
platform.getStake | | |
platform.getStakingAssetId | | |
platform.getSubnets | | |
platform.getTimestamp | | |
platform.getTotalStake | | |
platform.getTx | | |
platform.getTxStatus | | |
platform.getUtxOs | | |
platform.getValidatorsAt | | |
platform.issueTx | | |
platform.sampleValidators | | |
platform.validatedBy | | |
platform.validates | | |