UNPKG

@shapeshiftoss/fiosdk

Version:

The Foundation for Interwallet Operability (FIO) is a consortium of leading blockchain wallets, exchanges and payments providers that seeks to accelerate blockchain adoption by reducing the risk, complexity, and inconvenience of sending and receiving cryp

40 lines (39 loc) 1.15 kB
import { PrivateKey } from '@shapeshiftoss/fiojs'; import { Transactions } from '../Transactions'; export declare abstract class SignedTransaction extends Transactions { abstract ENDPOINT: string; abstract ACTION: string; abstract ACCOUNT: string; abstract getData(): Promise<any>; execute(privateKey: PrivateKey, publicKey: string, dryRun?: boolean): Promise<any>; prepareResponse(result: { processed: { action_traces: { receipt: { response: string; }; }[]; }; } | any): any; static prepareResponse(result: { transaction_id: string; processed: { block_num: number; action_traces: { receipt: { response: string; }; }[]; }; } | any, includeTrxId?: boolean): any; static parseProcessedResult(processed: { action_traces: { receipt: { response: string; }; }[]; }): any; getAction(): string; getAccount(): string; getEndPoint(): string; }