Type Alias TransactionRequestEIP1559

TransactionRequestEIP1559: {
    accessList?: AccessList;
    chainId?: number;
    data?: Hex;
    from?: Address;
    gas?: bigint;
    maxFeePerGas?: bigint;
    maxPriorityFeePerGas?: bigint;
    nonce?: number;
    to: Address;
    type?: "eip1559";
    value?: bigint;
}

Type declaration

  • OptionalaccessList?: AccessList

    The access list to use for the transaction.

  • OptionalchainId?: number

    (Ignored) The value of the chainId field in the transaction is ignored.

  • Optionaldata?: Hex

    The data to send with the transaction; only used for contract calls.

  • Optionalfrom?: Address

    (Ignored) Ignored in favor of the account address that is sending the transaction.

  • Optionalgas?: bigint

    The amount of gas to use for the transaction.

  • OptionalmaxFeePerGas?: bigint

    The maximum fee per gas to use for the transaction. If not provided, the API will estimate a value based on current network conditions.

  • OptionalmaxPriorityFeePerGas?: bigint

    The maximum priority fee per gas to use for the transaction. If not provided, the API will estimate a value based on current network conditions.

  • Optionalnonce?: number

    The nonce to use for the transaction. If not provided, the API will assign a nonce to the transaction based on the current state of the account.

  • to: Address

    The address of the contract or account to send the transaction to.

  • Optionaltype?: "eip1559"

    (Ignored) The transaction type is always eip1559.

  • Optionalvalue?: bigint

    The amount of ETH, in wei, to send with the transaction.