Aptos
/getbalance
Get the balance or number of the native token in the requested public address.
GET
https://api.expand.network/chain/getbalance
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
address*
String
The public address to get the balance of.
/getblock
Get details of a block.
GET
https://api.expand.network/chain/getblock
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
blockNumber*
String
The block number or block hash.
/gettransaction
Get details of a transaction.
GET
https://api.expand.network/chain/gettransaction
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
transactionHash*
String
The transaction hash.
/getgasprice
Get the current gas price from the network.
GET
https://api.expand.network/chain/getgasprice
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
/sendtransaction
Send transaction on the chain.
POST
https://api.expand.network/chain/sendtransaction
Request Body
chainId*
String
chainSymbol
String
rawTransaction*
String
The encoded transaction, obtained from signed transaction.
rpc
String
Remote procedural call URL.
Good to know: While signing the transaction with our SDK, please ensure you have passed the correct sequence number(the sequence number of last transaction+1).
Last updated