21 lines
658 B
TypeScript
21 lines
658 B
TypeScript
import type { Transaction } from '@trezor/blockchain-link-types';
|
|
type RippleTransactionMetadata = {
|
|
AffectedNodes: any[];
|
|
DeliveredAmount?: any[];
|
|
TransactionIndex: number;
|
|
TransactionResult: string;
|
|
delivered_amount?: string;
|
|
};
|
|
export declare const transformServerInfo: (payload: any) => {
|
|
name: string;
|
|
shortcut: string;
|
|
network: string;
|
|
testnet: boolean;
|
|
version: any;
|
|
decimals: number;
|
|
blockHeight: any;
|
|
blockHash: any;
|
|
};
|
|
export declare const transformTransaction: (tx: any, meta: RippleTransactionMetadata | null, descriptor?: string) => Transaction;
|
|
export {};
|
|
//# sourceMappingURL=ripple.d.ts.map
|