UNPKG

@transia/xrpl

Version:

A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser

24 lines (21 loc) 532 B
import { BaseRequest, BaseResponse } from './baseMethod' /** * The random command provides a random number to be used as a source of * entropy for random number generation by clients. Expects a response in the * form of a {@link RandomResponse}. * * @category Requests */ export interface RandomRequest extends BaseRequest { command: 'random' } /** * Response expected from a {@link RandomRequest}. * * @category Responses */ export interface RandomResponse extends BaseResponse { result: { random: string } }