import { EOACode7702Tx } from './tx.ts'; import type { TxOptions } from '../types.ts'; import type { TxData, TxValuesArray } from './tx.ts'; /** * Instantiate an EIP-7702 EOA-code transaction from a plain data object. * * `chainId` defaults from {@link TxOptions.common} when omitted. * * @throws If fee or value fields overflow or are non-numeric * @throws If gas limit or nonce exceed EIP bounds * @throws If init code size exceeds EIP-3860 on contract-creation txs */ export declare function createEOACode7702Tx(txData: TxData, opts?: TxOptions): EOACode7702Tx; /** * Instantiate an EIP-7702 transaction from devp2p byte-array encoding. * * Format: `[chainId, nonce, maxPriorityFeePerGas, maxFeePerGas, gasLimit, to, value, data, * accessList, authorityList, signatureYParity, signatureR, signatureS]` * * @throws If the values array length is not 10 (unsigned) or 13 (signed) * @throws If `chainId` or signature fields are nested arrays * @throws If numeric fields contain leading zeroes * @throws If constructor validation fails (see {@link createEOACode7702Tx}) */ export declare function createEOACode7702TxFromBytesArray(values: TxValuesArray, opts?: TxOptions): EOACode7702Tx; /** * Instantiate an EIP-7702 transaction from RLP-serialized bytes. * * Format: `0x04 || rlp([chainId, nonce, maxPriorityFeePerGas, maxFeePerGas, gasLimit, to, value, data, * accessList, authorityList, signatureYParity, signatureR, signatureS])` * * @throws If the leading type byte is not `0x04` * @throws If RLP decode result is not an array * @throws If decoded values fail {@link createEOACode7702TxFromBytesArray} checks */ export declare function createEOACode7702TxFromRLP(serialized: Uint8Array, opts?: TxOptions): EOACode7702Tx; //# sourceMappingURL=constructors.d.ts.map