Solana
Last updated
Last updated
Versioned Transactions: Expand now supports both versioned and legacy transactions, allowing users to access all the enhanced functionality versioned transactions offers
Get the balance or number of the given token in the requested public address.
GET
https://api.expand.network/chain/getbalance
Name | Type | Description |
---|---|---|
Get details of a block.
GET
https://historicallp.api.expand.network/chain/getblock
Name | Type | Description |
---|---|---|
Get details of a transaction.
GET
https://api.expand.network/chain/gettransaction
Get the comprehensive information about the assets/ tokens owned by a user.
GET
https://api.expand.network/chain/portfolio
Send transaction on the chain.
POST
https://api.expand.network/chain/sendtransaction
Get the decoded transaction for the provided raw transaction.
POST
https://api.expand.network/chain/decodetransaction
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
rpc
String
Remote procedural call URL
chainId*
String
Refer to the Chain ID page for details.
chainSymbol
String
Refer to the Chain ID page for details.
address*
String
The public address to get the balance of.
tokenAddress
String
The address of token to get the balance of.
rpc
String
Remote procedural call URL.
chainId*
String
Refer to the Chain ID page for details.
chainSymbol
String
Refer to the Chain ID page for details.
blockNumber*
String
The block number or block hash.
rpc
String
Remote procedural call URL.
chainId*
String
Refer to the Chain ID page for details.
chainSymbol
String
Refer to the Chain ID page for details.
transactionHash*
String
The transaction Hash.
rpc
String
Remote procedural call URL.
chainId*
String
Refer to the Chain ID page for details.
chainSymbol
String
Refer to the Chain ID page for details.
address*
String
Public addess of the user.
tokens
String
Comma-separated value of 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
The page number that the user wants to fetch.
Available at the end of the response.
assetType
String
Type of the asset. Either "fungible" or "nonFungible". By default, "all".
chainId*
Integer
Refer to the Chain ID page for details.
chainSymbol
String
Refer to the Chain ID page for details.
rawTransaction*
String
The encoded transaction, obtained from signed transaction.
rpc
String
Remote procedural call URL.
chainId*
String
Refer to the Chain ID page for details. By default, Ethereum.
chainSymbol
String
Refer to the Chain ID page for details.
rawTransaction*
String
The raw transaction to be given for decoding.