POST
curl --request POST \
  --url https://rpc.quai.network/cyprus1/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "quai_getRawTransactionByBlockNumberAndIndex",
  "params": [
    "0x12F",
    "0x1"
  ],
  "id": 1
}'
{
  "jsonrpc": "2.0",
  "result": "0x00f86c82232824843b9aca00847735940482a41094111a8a2ffb1729497e0cfbfc5fa2e2b405e13ba74f80c080a01c2ae1b000172a500f1a7e6e9265264d9ba9e9edd835411bf4233f3f2b05c7d9a01f9e48da332873ea7514b5ffa17febd543a7a9d0ef20651a4b14a394c0333837",
  "id": 1
}

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
enum<string>
required

The name of the method to be invoked.

Available options:
quai_getRawTransactionByBlockNumberAndIndex
params
string[]
required

The block number and transaction index.

id
integer
required

A unique identifier for the request.

Response

200 - application/json
Successful response
jsonrpc
string
result
string

The raw transaction bytecode.

id
integer