Skip to main content

Parameters

chainId
string
default:"4157"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"eth_sendRawTransaction"
required
JSON-RPC method name.
params
object
required
Parameters for eth_sendRawTransaction: [signedTransactionData].Positional parameters for eth_sendRawTransaction:
  • params[0]: The signed transaction data.

Returns

result
string
32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available. Example: “0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09”.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=4157 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_sendRawTransaction",
    "params": [
      "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09"
}