Skip to main content

account_currencies RPC Method

Allows querying and retrieving the list of currencies associated with an XRP Ledger account

Updated on
Oct 04, 2023

account_currencies RPC Method

Parameters

account
string
REQUIRED
The XRP Ledger account for which the associated currencies are queried
account_index
integer
The account index
ledger_index
string
The ledger index to retrieve the currency information from
strict
boolean
A boolean field indicating whether strict validation should be applied

Returns

result
object
The method returns a JSON object with the following properties:
ledger_hash
string
The hash of the ledger containing the currency information
ledger_index
integer
The index of the ledger containing the currency information
receive_currencies
array
A list of currencies that the account can receive
send_currencies
array
A list of currencies that the account can send
validated
boolean
Indicates if the information is from a validated ledger
status
string
The status of the request
warnings
array
A list of warnings
id
integer
The ID of the warning
message
string
The warning message
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free