Avalanche - C
/getbalance
Get the balance or number of the given token in the requested public address.
GET https://api.expand.network/chain/getbalance
Query Parameters
https://api.expand.network/chain/getbalance/?address=0x4dd1fed9BeE6eD79088093d55d7fCb8490CDf7Ea&chainId=43114{
"status": 200,
"msg": "success",
"data": {
"balance": "67665156116856663"
}
}/getblock
Get details of a block.
GET https://api.expand.network/chain/getblock
Query Parameters
/getgasprice
Get the current gas price from the network.
GET https://api.expand.network/chain/getgasprice
Query Parameters
/getstorage
Get data stored in the given slot.
GET https://api.expand.network/chain/getstorage
Query Parameters
/gettransaction
Get details of a transaction.
GET https://api.expand.network/chain/gettransaction
Query Parameters
/portfolio
Get detailed information about the verified assets or tokens currently associated with a user's wallet address.
GET https://api.expand.network/chain/portfolio
Query Parameters
rpc
String
Remote procedural call URL.
address*
String
Public addess of the user.
tokens
String
Comma-separated value of ERC-20 tokens to get value of. Maximum 10 at a time.
availableOnly
Boolean
By default, false. If true, tokens with balance > 0 will be listed.
pageToken
String
Present at the end of a lengthy response to fetch the next page.
assetType
String
fungible/nonFungible standard choice.
By default, all.
/getusertransactions
Get the historical transaction details for a specific user address.
GET https://api.expand.network/chain/getusertransactions
Query Parameters
rpc
String
Remote procedural call URL.
address*
String
Comma-separated value of user addresses.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
pageToken
String
The next page's token. Can be found at the end of the response.
sortOrder
String
The transaction sorting order. asc or desc.
/sendtransaction
Send transaction on the chain.
POST https://api.expand.network/chain/sendtransaction
Request Body
/decodetransaction
Get the decoded transaction for the provided raw transaction.
POST https://api.expand.network/chain/decodetransaction
Request Body
Last updated

