Interface NoRippleCheckRequest

The noripple_check command provides a quick way to check the status of th default ripple field for an account and the No Ripple flag of its trust lines, compared with the recommended settings. Expects a response in the form of an NoRippleCheckResponse.

Example

const noRipple: NoRippleCheckRequest = {
"id": 0,
"command": "noripple_check",
"account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
"role": "gateway",
"ledger_index": "current",
"limit": 2,
"transactions": true
}

Hierarchy

  • BaseRequest
    • NoRippleCheckRequest

Properties

account: string

A unique identifier for the account, most commonly the account's address.

api_version?: number

The API version to use. If omitted, use version 1.

command: "noripple_check"
id?: string | number

A unique value to identify this request. The response to this request uses the same id field. This way, even if responses arrive out of order, you know which request prompted which response.

ledger_hash?: string

A 20-byte hex string for the ledger version to use.

ledger_index?: LedgerIndex

The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically.

limit?: number

The maximum number of trust line problems to include in the results. Defaults to 300.

role: "gateway" | "user"

Whether the address refers to a gateway or user. Recommendations depend on the role of the account. Issuers must have Default Ripple enabled and must disable No Ripple on all trust lines. Users should have Default Ripple disabled, and should enable No Ripple on all trust lines.

transactions?: boolean

If true, include an array of suggested transactions, as JSON objects, that you can sign and submit to fix the problems. Defaults to false.

Generated using TypeDoc