Eth_signTransaction

eth_signTransaction

post

Signs a transaction locally with the private key of the specified account.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstring · enumRequiredExample: eth_signTransactionPossible values:
idintegerRequiredExample: 1
Responses
chevron-right
200

JSON-RPC response with the signed transaction data

application/json
jsonrpcstringRequiredExample: 2.0
idintegerRequiredExample: 1
resultstringRequired

The signed transaction serialized and encoded as a hex string, ready to be sent via eth_sendRawTransaction.

Example: 0xf86c808504a817c80082520894b60e8dd61c5d32be8058bb8eb970870f072331550880de0b6b3a76400008025a08b5a9e4f3e93096d046a9e4d4f28e0e2aab034c8998a2a4015304e80a40338c5a047d092f3246c4e11d995cbca7ed8a47aaf3dfeff8b6af33d57f4caba1c88b52c7
post
/
200

JSON-RPC response with the signed transaction data

Last updated