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

Sign Transaction

Signs a transaction.

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.

Gas Price
Uint 256 Structure

The gas price used for each gas unit.

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