XRP Ledger
Last updated
Last updated
Click on the endpoint to jump to the section with full details
GET
- Get the balance or number of the given token in the requested public address.
GET
- Get details of a block(ledger).
GET
- Get the current gas price from the XRPL.
GET
- Get details of a specified transaction.
GET
- Get comprehensive information about the assets/ tokens a user owns, including their name, balance, symbol, address, and their equivalent USD price.
GET
- Get the historical transaction details for a specific user address.
GET
- Get details for the current latest known ledger of the node.
POST
- Submit a signed transaction to XRPL for processing.
POST
- Initiates a transaction to fund a newly created account 10 XRP using the public key as the account ID.
POST
- Get the decoded transaction(sender, recipient, gas limit, method signature, and more) for the provided raw transaction.
Also, see
Please use Chain ID 1600 for the XRP Ledger Mainnet and 1601 for the XRP Ledger Testnet See the for a complete list of DEX IDs.
Get the balance or number of the given token in the requested public address.
GET
https://api.expand.network/chain/getbalance
rpc
String
Remote procedural call URL
chainId*
String
chainSymbol
String
address*
String
The public address to get the balance of.
issuer
String
The public address of the issuer.
assetCode
String
The code of asset to get the balance of. *Required, if issuer address is provided.
Get details of a block(ledger).
GET
https://historicallp.api.expand.network/chain/getblock
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
blockNumber*
String
Sequence number of the ledger.
Get the current gas price from the XRPL.
GET
https://api.expand.network/chain/getgasprice
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
Get details of a specified transaction.
GET
https://api.expand.network/chain/gettransaction
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
transactionHash*
String
The transaction hash.
Get the comprehensive information about the assets/ tokens owned by a user, including their name, balance, symbol, address, and their equivalent USD price.
GET
https://api.expand.network/chain/portfolio
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
address*
String
Public addess of the user.
assetType
String
fungible
/nonFungible
standard choice. By default, all
.
availableOnly
Boolean
By default, false. If true, tokens with balance > 0 will be listed.
Get the historical transaction details for a specific user address.
GET
https://historicallp.api.expand.network/chain/getusertransactions
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
address*
String
The public address of the user.
pageToken
String
A string ID that points to a specific location in a collection of responses, present at the end of the response.
sortOrder
String
The transaction sorting order. asc or desc. By default, desc.
Get details for the current latest known ledger of the node.
GET
https://api.expand.network/chain/getlatestledger
rpc
String
Remote procedural call URL.
chainId
String
chainSymbol
String
Submit a signed transaction to XRPL for processing.
POST
https://api.expand.network/chain/sendtransaction
rpc
String
Remote procedural call URL.
chainId
String
chainSymbol
String
rawTransaction*
String
The signed transaction to broadcast for inclusion in a ledger, serialized as a base64 string.
Initiates a transaction to fund a newly created account 10 XRP using the public key as the account ID.
POST
https://api.expand.network/chain/createaccount
rpc
String
Remote procedural call URL.
chainId*
String
chainSymbol
String
from*
String
Public address of the sender who funds the account.
to*
String
Public address of the recipient who will get funded.
destinationTag
String
Get the decoded transaction(sender, recipient, gas limit, method signature, and more) for the provided raw transaction.
POST
https://api.expand.network/chain/decodetransaction
chainId*
String
chainSymbol
String
rawTransaction*
String
A signed XRPL transaction, serialized as a base64 string.
400 (Bad Request)
Indicates the request is invalid or missing the required parameters. The msg field will contain details about the error.
401 (Unauthorised)
Indicates the request lacks valid authentication credentials (API key). Ensure that you provide a valid API key in the request headers.
404 (Not Found)
Indicates that the specified endpoint or resource does not exist.
500 (Server Error)
Indicates an internal server error.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details. By default, Ethereum.
Refer to the page for details.