UNPKG

@fioprotocol/fiojs

Version:

FioJS is a Utility SDK for packing, signing and encryption functionality for the FIO blockchain. It is used by the FIO TypeScript SDK

15 lines (14 loc) 492 B
/** @return a packed and signed transaction formatted ready to be pushed to chain. */ export declare function prepareTransaction({ transaction, chainId, privateKeys, abiMap, textDecoder, textEncoder }: { transaction: any; chainId: string; privateKeys: string[]; abiMap: Map<string, any>; textDecoder?: TextDecoder; textEncoder?: TextEncoder; }): Promise<{ compression: number; packed_context_free_data: string; packed_trx: string; signatures: any; }>;