Marketplace has launched, further enabling blockchain developers! Learn more


eth_sendRawTransaction RPC method

The eth_sendRawTransaction EVM method is only supported on the Avalanche C-Chain.


  1. Data - The signed transaction (typically signed with a library, using your private key)


  1. Result - The transaction hash, or the zero hash if the transaction is not yet available.

Code Examples:

To use the eth_sendRawTransaction EVM method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

require 'ethereum.rb'
require 'eth'
client ='')
key = priv: "{your-key-here}"
amount = 50000000000
response = client.transfer(key, "0xaC2d0226AdE52e6b4CCc97359359f01e34d50352", amount)
puts response
Ready to get started? Create a free account