Interface ClientOptions

interface ClientOptions {
    agent?: Agent;
    authorization?: string;
    connectionTimeout?: number;
    feeCushion?: number;
    headers?: { [key: string]: string };
    maxFeeXRP?: string;
    timeout?: number;
    trace?: boolean | (id: string, message: string) => void;
}

Hierarchy

  • ConnectionUserOptions
    • ClientOptions

Fee

feeCushion?: number

Multiplication factor to multiply estimated fee by to provide a cushion in case the required fee rises during submission of a transaction. Defaults to 1.2.

maxFeeXRP?: string

Maximum transaction cost to allow, in decimal XRP. Must be a string-encoded number. Defaults to '2'.

Other

agent?: Agent
authorization?: string
connectionTimeout?: number
headers?: { [key: string]: string }
timeout?: number

Duration to wait for a request to timeout.

trace?: boolean | (id: string, message: string) => void