POST
/
{api-key}
curl --request POST \
  --url https://{network}.s.chainbase.online/v1/{api-key} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getTransactionByBlockHashAndIndex",
  "params": [
    "0x4e216c95f527e9ba0f1161a1c4609b893302c704f05a520da8141ca91878f63e",
    0
  ]
}'
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "blockHash": "<string>",
    "blockNumber": "<string>",
    "from": "<string>",
    "gas": "<string>",
    "gasPrice": "<string>",
    "hash": "<string>",
    "input": "<string>",
    "nonce": "<string>",
    "to": "<string>",
    "transactionIndex": "<string>",
    "value": "<string>",
    "v": "<string>",
    "r": "<string>",
    "s": "<string>"
  }
}

Path Parameters

api-key
string
required

Body

application/json
id
integer
default:
1
required
jsonrpc
string
default:
2.0
required
method
string
default:
eth_getTransactionByBlockHashAndIndex
required
params
any[]
required

Response

200 - application/json
id
integer
required
jsonrpc
string
required
result
object
required