UNPKG

@bithomp/xrpl-api

Version:

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

17 lines (16 loc) 551 B
import { PayChannelLedgerEntry } from "../../v1/common/types/objects"; export type FormattedPaymentChannel = { account: string; amount: string; balance: string; publicKey: string; destination: string; settleDelay: number; expiration?: string; cancelAfter?: string; sourceTag?: number; destinationTag?: number; previousAffectingTransactionID: string; previousAffectingTransactionLedgerVersion: number; }; export declare function parsePaymentChannel(data: PayChannelLedgerEntry): FormattedPaymentChannel;