@hashgraph/sdk
Version:
61 lines (60 loc) • 1.85 kB
TypeScript
/**
* @typedef {object} EthereumTransactionDataEip2930JSON
* @property {string} chainId
* @property {string} nonce
* @property {string} gasPrice
* @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 EthereumTransactionDataEip2930 extends EthereumTransactionData {
/**
* @private
* @param {object} props
* @param {Uint8Array} props.chainId
* @param {Uint8Array} props.nonce
* @param {Uint8Array} props.gasPrice
* @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>;
gasPrice: Uint8Array<ArrayBufferLike>;
gasLimit: Uint8Array<ArrayBufferLike>;
to: Uint8Array<ArrayBufferLike>;
value: Uint8Array<ArrayBufferLike>;
accessList: Uint8Array<ArrayBufferLike>[];
recId: Uint8Array<ArrayBufferLike>;
r: Uint8Array<ArrayBufferLike>;
s: Uint8Array<ArrayBufferLike>;
/**
* @returns {EthereumTransactionDataEip2930JSON}
*/
toJSON(): EthereumTransactionDataEip2930JSON;
}
export type EthereumTransactionDataEip2930JSON = {
chainId: string;
nonce: string;
gasPrice: string;
gasLimit: string;
to: string;
value: string;
callData: string;
accessList: string[];
recId: string;
r: string;
s: string;
};
import EthereumTransactionData from "./EthereumTransactionData.js";