Saltar al contenido principal

cfx_sendRawTransaction

Sends signed transaction, returning its hash.

  • must have required property 'raw_tx'
curl --request POST \
--url https://main.confluxrpc.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"params": [null],
"method": "cfx_sendRawTransaction"
}'

Params

raw_tx required

Schema
type : string
Pattern : ^0x[0-9a-f]*$

Result

Schema
type : string
Pattern : ^0x[0-9,a-f,A-F]{64}$