@bithomp/xrpl-api
Version:
A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger
29 lines (28 loc) • 760 B
TypeScript
export declare function parseCurrencyInformation(currency: any): Promise<null | DecodeHexCurrencyInterface | DecodedNFTCurrencyInterface>;
interface DecodedNFTCurrencyInterface {
type: string;
currencyCode: string;
currency: string;
cti: number;
ctiLedger: number;
ctiTxIndex: number;
ctiValid: boolean;
ctiVerified: boolean;
timestamp?: number;
ctiTx: DecodedNFTCurrencyTransactionInterface;
}
interface DecodedNFTCurrencyTransactionInterface {
type?: string;
account?: string;
destination?: string;
issuer?: string;
counterparty?: string;
hash?: string;
memos?: string;
}
interface DecodeHexCurrencyInterface {
type: string;
currencyCode: string;
currency: string;
}
export {};