UNPKG

@fioprotocol/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

42 lines 1.36 kB
import { Account, Action, EndPoint } from '../../entities'; import { Request } from '../Request'; export declare abstract class SignedRequest<T = any, R = any> extends Request { static prepareResponse(result: { transaction_id: string; processed: { block_num: number; action_traces: Array<{ receipt: { response: string; }; }>; }; } | any, includeTrxId?: boolean): any; static parseProcessedResult(processed: { action_traces: Array<{ receipt: { response: string; }; }>; }): any; protected abstract ENDPOINT: `chain/${EndPoint}`; protected abstract ACTION: Action; protected abstract ACCOUNT: Account; abstract getData(): T; execute(privateKey: string, publicKey: string, dryRun?: boolean, expirationOffset?: number): Promise<R>; prepareResponse(result: { processed: { action_traces: Array<{ receipt: { response: string; }; }>; }; } | any): R; getAction(): Action; getAccount(): Account; getAuthPermission(): string | undefined; getSigningAccount(): string | undefined; getEndPoint(): string; } //# sourceMappingURL=SignedRequest.d.ts.map