@onekeyfe/blockchain-link
Version:
High-level javascript interface for blockchain communication
13 lines (12 loc) • 406 B
TypeScript
import { Transaction } from '../../types/common';
export declare const transformServerInfo: (payload: any) => {
name: string;
shortcut: string;
testnet: boolean;
version: any;
decimals: number;
blockHeight: any;
blockHash: any;
};
export declare const transformError: (error: any) => any;
export declare const transformTransaction: (descriptor: string, tx: any) => Transaction;