Starknet
/getbalance
Get the balance or number of the given 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.
tokenAddress
String
The address of token 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.
/getstorage
Get data stored in the given slot.
GET
https://api.expand.network/chain/getstorage
Query Parameters
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
address*
String
Contract address whose storage is needed.
index
String
Slot index on the smart contract. By default, it is taken as 0.
/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.
/sendtransaction
Send transaction on the chain.
POST
https://api.expand.network/chain/sendtransaction
Request Body
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
rawTransaction*
String
The encoded transaction, obtained from the signed transaction.
Last updated