Skip to main content

noripple_check RPC Method

Verifies the status of the Default Ripple field for an account and the No Ripple flag of its trust lines

Updated on
Oct 4, 2023

noripple_check RPC Method

Parameters

account
string
REQUIRED
The account address to be checked
ledger_hash
string
A 20-byte hex string for the ledger version to use
ledger_index
string
The index of the ledger to use for the check
limit
integer
The maximum number of trust line problems to include in the results. Defaults to 300
role
string
REQUIRED
The role of the account (gateway, client, or user)
transactions
boolean
it indicates whether to include transactions in the result

Returns

result
object
An object which contains the following fields:
ledger_current_index
integer
The ledger index of the ledger used to calculate these results
problems
array
An array of strings with human-readable descriptions of the problems
transactions
array
A list of transactions associated with the account, each containing the following fields:
Account
string
he unique address of the account that initiated the transaction
Fee
integer
An Integer amount of XRP, in drops, to be destroyed as a cost for distributing this transaction to the network
Sequence
integer
The sequence number of the account sending the transaction
SetFlag
integer
The set of bit-flags for this transaction
TransactionType
string
The type of transaction. The valid transaction types include: Payment, OfferCreate, TrustSet, and many others
validated
boolean
It indicates whether the result has been 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
1
curl https://docs-demo.xrp-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "noripple_check",
6
"params": [{
7
"account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
8
"ledger_index": "current",
9
"limit": 2,
10
"role": "gateway",
11
"transactions": true
12
}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free