Please note that Quicknode does not support the eth_signTransaction RPC method. To sign a transaction without a node-held key, see How to Sign Ethereum Transactions Locally. When broadcasting on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
- objectarray
The transaction response object which contains the following fields:
- fromstring
The address the transaction is sent from
- tostring
(optional for contract creation) The address the transaction is directed to
- gasstring
(default: 90000) The integer of the gas provided for the transaction execution
- gasPricestring
The integer of the gasPrice used for each paid gas, in wei
- valuestring
The integer of the value sent with this transaction, in wei
- datastring
The compiled code of a contract or the hash of the invoked method signature and encoded parameters
- noncestring
The integer of a nonce. This allows overwriting the own pending transactions that use the same nonce
Returns
- resultobject
The signed transaction object
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free