UNPKG

@hashgraph/sdk

Version:
65 lines (64 loc) 2.01 kB
/** * @typedef {object} EthereumTransactionDataEip1559JSON * @property {string} chainId * @property {string} nonce * @property {string} maxPriorityGas * @property {string} maxGas * @property {string} gasLimit * @property {string} to * @property {string} value * @property {string} callData * @property {string[]} accessList * @property {string} recId * @property {string} r * @property {string} s */ export default class EthereumTransactionDataEip1559 extends EthereumTransactionData { /** * @private * @param {object} props * @param {Uint8Array} props.chainId * @param {Uint8Array} props.nonce * @param {Uint8Array} props.maxPriorityGas * @param {Uint8Array} props.maxGas * @param {Uint8Array} props.gasLimit * @param {Uint8Array} props.to * @param {Uint8Array} props.value * @param {Uint8Array} props.callData * @param {Uint8Array[]} props.accessList * @param {Uint8Array} props.recId * @param {Uint8Array} props.r * @param {Uint8Array} props.s */ private constructor(); chainId: Uint8Array<ArrayBufferLike>; nonce: Uint8Array<ArrayBufferLike>; maxPriorityGas: Uint8Array<ArrayBufferLike>; maxGas: Uint8Array<ArrayBufferLike>; gasLimit: Uint8Array<ArrayBufferLike>; to: Uint8Array<ArrayBufferLike>; value: Uint8Array<ArrayBufferLike>; accessList: Uint8Array<ArrayBufferLike>[]; recId: Uint8Array<ArrayBufferLike>; r: Uint8Array<ArrayBufferLike>; s: Uint8Array<ArrayBufferLike>; /** * @returns {EthereumTransactionDataEip1559JSON} */ toJSON(): EthereumTransactionDataEip1559JSON; } export type EthereumTransactionDataEip1559JSON = { chainId: string; nonce: string; maxPriorityGas: string; maxGas: string; gasLimit: string; to: string; value: string; callData: string; accessList: string[]; recId: string; r: string; s: string; }; import EthereumTransactionData from "./EthereumTransactionData.js";