@hashgraph/sdk
Version:
53 lines (52 loc) • 1.54 kB
TypeScript
/**
* @typedef {object} EthereumTransactionDataLegacyJSON
* @property {string} nonce
* @property {string} gasPrice
* @property {string} gasLimit
* @property {string} to
* @property {string} value
* @property {string} callData
* @property {string} v
* @property {string} r
* @property {string} s
*/
export default class EthereumTransactionDataLegacy extends EthereumTransactionData {
/**
* @private
* @param {object} props
* @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.v
* @param {Uint8Array} props.r
* @param {Uint8Array} props.s
*/
private constructor();
nonce: Uint8Array<ArrayBufferLike>;
gasPrice: Uint8Array<ArrayBufferLike>;
gasLimit: Uint8Array<ArrayBufferLike>;
to: Uint8Array<ArrayBufferLike>;
value: Uint8Array<ArrayBufferLike>;
v: Uint8Array<ArrayBufferLike>;
r: Uint8Array<ArrayBufferLike>;
s: Uint8Array<ArrayBufferLike>;
/**
* @returns {EthereumTransactionDataLegacyJSON}
*/
toJSON(): EthereumTransactionDataLegacyJSON;
}
export type EthereumTransactionDataLegacyJSON = {
nonce: string;
gasPrice: string;
gasLimit: string;
to: string;
value: string;
callData: string;
v: string;
r: string;
s: string;
};
import EthereumTransactionData from "./EthereumTransactionData.js";