Broadcast Staking Tx

Broadcast a signed staking transaction. Read our guide on signing transactions and broadcasting the right payloads. Returns a transaction hash whose status can be checked using the Ethereum RPC eth_getTransactionReceipt method ( reference).

Signed TransactionUnsigned Transaction + Signature

Parameters

Responses

201 Success

{
  "data": {
    "network": "string",
    "transaction_hash": "string",
    "activity": {
      "type": "null",  
      "status": "string"
    }
  }
}

400 Invalid params

401 Invalid API key

422 Invalid network

Example Curl Request

curl --request POST \
     --url https://api.figment.io/ethereum/broadcast \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '{
       "network": "mainnet"
     }'

Example Response

{
  "data": {
    "transaction_hash": "0xae96cb28f012f20a63118cf34f60de63c9884a483cc742d5f41a1aee6f5cd5f3",
    "activity": {
      "type": null,
      "status": "pending",
      "network": "hoodi",
      "protocol": "ethereum",
      "tx": {
        "hash": "0xae96cb28f012f20a63118cf34f60de63c9884a483cc742d5f41a1aee6f5cd5f3",
        "status": "in_progress"
      }
    }
  }
}