Contents

eth_signTransaction RPC method

Parameters:

  1. Object - The transaction object.

    from - The address the transaction is sent from.

    to - (optional for contract creation) The address the transaction is directed to.

    gas - (default: 90000) Integer of the gas provided for the transaction execution.

    gasPrice - Integer of the gasPrice used for each paid gas, in Wei.

    value - Integer of the value sent with this transaction, in Wei.

    data - The compiled code of a contract OR the hash of the invoked method signature and encoded parameters.

    nonce - Integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce.

Returns:

  1. Result - The signed transaction object.

Code Examples:

Not supported by QuickNode!
Ready to try QuickNode? Start your 7-day free trial