Avalanche
Prêt à utiliser cela en production ?
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
Avalanche
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
eth_sendRawTransaction broadcasts a fully signed, RLP-encoded transaction to the Avalanche C-Chain (chain ID 43114), whose gas is paid in AVAX, and returns the resulting transaction hash. You sign the transaction client-side — never send a private key to the node — then submit the serialized bytes; the node validates them, places the transaction in its mempool, and propagates it. Thanks to Snowman/Avalanche consensus, an accepted transaction typically finalizes within about one to two seconds. Send the request to https://avalanche.therpc.io/YOUR_API_KEY.
to field and setting data to the contract bytecode in the signed transaction.transfer or an Aave deposit — by broadcasting the signed call.| # | Nom | Type | Obligatoire | Description |
|---|---|---|---|---|
| 1 | signedTransaction | string | Oui | The serialized signed transaction. Build and sign it client-side with a library (e.g. ethers, viem, web3.js); never send a private key to the node. |
| Type | Description |
|---|---|
| string | 32-byte transaction hash (0x-prefixed). The transaction is now in the mempool but not yet confirmed. |
Try it live in the Avalanche playground.
| Code | Message | Cause |
|---|---|---|
-32000 | nonce too low | The nonce in the signed transaction is lower than the sender's current on-chain nonce. |
-32000 | insufficient funds for gas * price + value | The sender does not have enough native-token balance to cover gas cost and the transferred value. |
-32000 | replacement transaction underpriced | Tried to replace a pending transaction (same nonce) but the new fee is not high enough (typically requires ≥10% bump). |
eth_getTransactionReceipt to track inclusion; on the C-Chain finality is fast (about 1–2 seconds), so the wait is usually brief.status: "0x0" means the transaction was included but reverted, and the AVAX gas was still spent.eth_getTransactionCount immediately before signing to avoid nonce collisions, especially when sending several C-Chain transactions in quick succession.Paramètres
0x-prefixed hex string of the RLP-encoded signed transaction