ledger_entry RPC Method
Parameters
index
string
The index of the ledger entry
ledger_index
string
The index of the ledger
Returns
result
object
An object which contains the following fields:
index
string
The index of the ledger entry
ledger_hash
string
The hash of the ledger
ledger_index
integer
The index of the ledger
node
object
The details of the node, including:
Amendments
string
The Amendments in the node
Flags
integer
The flags associated with the node
LedgerEntryType
string
The type of ledger entry
index
string
The index of the node
validated
boolean
It indicates whether the ledger entry is validated
status
string
The status of the request
warnings
array
An array of warning objects, each containing the following fields:
id
integer
The ID of the warning
message
string
The warning message
Request
1curl https://docs-demo.xrp-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "ledger_entry",6"params": [{7"index": "7DB0788C020F02780A673DC74757F23823FA3014C1866E72CC4CD8B226CD6EF4",8"ledger_index": "validated"9}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free