Register and show off your project at Ethereum QuickPitch and win $10,000. Apply now

Contents

eth_signTransaction RPC method

The API credit value for this method is 1 . To learn more about API credits and each method's value, visit the API Credits page.

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 get started? Create a free account