Web3S_Demo > Web 3S Sign Type 2Transaction Async Task > Sign Type 2 Transaction

Sign Type 2 Transaction

Signs a type2 (EIP-1559) transaction using an Async Task.

Inputs

In
Exec

Private Key
Array of Bytes

The private key to use for signing the transaction.

Chain Id
Integer

The Blockchain ID.

Nonce
Integer

The nonce.

Max Priority Fee Per Gas
Uint 256 Structure

The maximum priority fee for the transaction.

Max Fee Per Gas
Uint 256 Structure

The maximum fee for the transaction (should exceed base fee + priority fee)

Gas Limit
Uint 256 Structure

Gas limit provided for the transaction to execute.

To Address
String

The address the transaction is directed to.

Value
Uint 256 Structure

The amount of Ether (in Wei) to send with this transaction.

Data
String

The hash of the invoked method signature and encoded parameters (ABI).

Outputs

Out
Exec

Succeeded
Exec

Failed
Exec

Error Message
String

Transaction
String

Transaction Hash
String

Message Hash
String