| Type | Description | | --- | | 32-byte DATA | Hash of a block. | | QUANTITY | Integer of the transaction index position. |
// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"klay_getTransactionByBlockHashAndIndex","params":["0x451cafae98d61b7458b5cef54402830941432278184453e3ca490eb687317e68", "0x0"],"id":1}' http://klaytn.blockpi.network/v1/rpc/your-api-key
// Result
{
"jsonrpc":"2.0",
"id":1,
"result":{
"blockHash":"0x0591ceb74102fc4ed54b66d27e869224d481e9f44170b25ed4a5654675043198",
"blockNumber":"0x27",
"from":"0xe02837b9d671e0848e599c374416f383f8910e45",
"gas":"0xf4240",
"gasPrice":"0x5d21dba00",
"hash":"0x451cafae98d61b7458b5cef54402830941432278184453e3ca490eb687317e68",
"input":"0x",