Signs a transaction that can be submitted to the network later using eth_sendRawTransaction.


Supported on Fantom (mainnet) only.


  • object- The transaction response object which contains the following fields:
    • from- The address the transaction is sent from
    • to- (optional for contract creation) The address the transaction is directed to
    • gas- (default: 90000) The integer of the gas provided for the transaction execution
    • gasPrice- The integer of the gasPrice used for each paid gas, in wei
    • value- The 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- The integer of a nonce. This allows overwriting the own pending transactions that use the same nonce


  • result - The signed transaction object

API Endpoint

The format of a Fantom API endpoint is{{apiKey}}/fantom/

Here is an example:



curl{{apiKey}}/fantom/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"id": 1,"jsonrpc": "2.0","method": "eth_signTransaction","params": [{"data":"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675","from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155","gas": "0x76c0","gasPrice": "0x9184e72a000","to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567","value": "0x9184e72a"}]}'