Updated on 2024-11-14 GMT+08:00

eth_sendRawTransaction

Introduction

This API creates a new message call transaction or creates a contract for signed transactions. It consumes 250 CUs.

Parameter Description

Parameter

Type

Description

Signed transaction data

String

The transaction generated using the private key.

Return Value

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

Request

curl https://your-http-endpoint/v1/<API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["signed transaction"],"id":1}'