English
cURL
curl --request POST \ --url https://rpc.quai.network/cyprus1/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "quai_getRawTransactionByBlockHashAndIndex", "params": [ "0x80e1b681569301bec7aad08dd5a585aff74f37db52ee2766756aef03a8e5e5c9", "0x1" ], "id": 1 }'
{ "jsonrpc": "2.0", "result": "0x00f86c82232824843b9aca00847735940482a41094111a8a2ffb1729497e0cfbfc5fa2e2b405e13ba74f80c080a01c2ae1b000172a500f1a7e6e9265264d9ba9e9edd835411bf4233f3f2b05c7d9a01f9e48da332873ea7514b5ffa17febd543a7a9d0ef20651a4b14a394c0333837", "id": 1 }
Returns the bytecode for a raw transaction given block hash andtransaction index.
Successful response
The response is of type object.
object
Was this page helpful?