UNPKG

noob-ethereum

Version:
18 lines 649 B
declare class TransactionTrie { private trie; constructor(); /** * Fetch the decoded data corresponding to a transactionIndex key from the trie * @param {string | number} key - transaction index (in hex string form or integer) * @returns {Promise<string[]>} */ get(key: string | number): Promise<string[]>; /** * Insert transaction into trie * @param {RawTransaction} tx - transaction body (must be signed - aka including v,r,s) * @returns {Promise<boolean>} */ put(tx: RawTransaction): Promise<boolean>; } export default TransactionTrie; //# sourceMappingURL=transaction-trie.d.ts.map