UNPKG

@bithomp/xrpl-api

Version:

A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger

17 lines (16 loc) 1.28 kB
import { Connection } from "../connection"; import { LedgerIndex } from "../models/ledger"; import { URITokenInterface } from "../models/account_uritokens"; import { ErrorResponse } from "../models/base_model"; export declare const LEDGER_ENTRY_AMENDMENTS = "7DB0788C020F02780A673DC74757F23823FA3014C1866E72CC4CD8B226CD6EF4"; export declare const LEDGER_ENTRY_NEGATIVE_UNL = "2E8A59AA9D3B5B186B0B9E0F62E6C02587CA74A4D778938E957B6357D364B244"; export declare const LEDGER_ENTRY_FEE_SETTINGS = "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651"; export declare const LEDGER_ENTRY_LEDGER_HASHES = "B4979A36CDC7F3D3D5C31A4EAE2AC7D7209DDA877588B9AFC66799692AB0D66B"; export declare const LEDGER_ENTRY_UNL_REPORT = "61E32E7A24A238F1C619D5F9DDCC41A94B33B66C0163F7EFCC8A19C9FD6F28DC"; export interface GetLedgerEntryOptions { ledgerIndex?: LedgerIndex; connection?: Connection; } export declare function getLedgerEntry(ledgerEntry: string, options?: GetLedgerEntryOptions): Promise<any | ErrorResponse>; export declare function getLedgerEntryAmendments(options?: GetLedgerEntryOptions): Promise<any | ErrorResponse>; export declare function getLedgerEntryURIToken(uriTokenID: string, options?: GetLedgerEntryOptions): Promise<URITokenInterface | ErrorResponse>;