Arbitrum
/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=0x2cc78c19e6e5c8d663c99d0f576eb6653230d8e5&chainId=42161
/getblock
Get details of a block.
GET
https://api.expand.network/chain/getblock
Query Parameters
https://api.expand.network/chain/getblock?blockNumber=2525553&chainId=42161
/getgasprice
Get the current gas price from the network.
GET
https://api.expand.network/chain/getgasprice
Query Parameters
https://api.expand.network/chain/getgasprice?chainId=42161
/getstorage
Get data stored in the given slot.
GET
https://api.expand.network/chain/getstorage
Query Parameters
https://api.expand.network/chain/getstorage?chainId=42161&address=0x825d6bc6e67C255c2a053bbd7c6100eEc4025656
/gettransaction
Get details of a transaction.
GET
https://api.expand.network/chain/gettransaction
Query Parameters
https://api.expand.network/chain/gettransaction?chainId=42161&transactionHash=0x28c980e3d75a98d29269bdf88d6e375d1657e96c3a1412e5347aa84f03542896
/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
.
https://api.expand.network/chain/portfolio?chainId=42161&address=0x299d68A01B4c9C550c0CCDCa8EE3C616d319214E&availableOnly=true
/sendtransaction
Send transaction on the chain.
POST
https://api.expand.network/chain/sendtransaction
Request Body
{
"chainId" : "42161",
"rawTransaction": "0xf86f048433918fbe830493e0949b79d6dfe4650d70f35dbb80f7d1ec0cf7f823fd87038d7ea4c6800084022794382da0c9bd6b5c7e18a258b04039d524a3e1382ec0f522d160dc027428933f520b6868a07332736f1df297842299230820626f1fc5b8d4cdd602ade55e3ba02c63e756ce"
}
/decodetransaction
Get the decoded transaction for the provided raw transaction.
POST
https://api.expand.network/chain/decodetransaction
Request Body
{
"chainId": "42161",
"rawTransaction": "0xf86a808405f5e100830c885d946fb447ae94f5180254d436a693907a1f57696900839896808083014986a0ef42c905354ab2e801e5d82dde6ac0524cc508d52efcf09e142f10d353cbebd9a04e74de901d830125391974592395e1c605b1526585c5d69154e4b83b81d8cc50"
}
Last updated