Example code for the eth_getTransactionByHash json-rpc method. Сomplete guide on how to use eth_getTransactionByHash json-rpc in GetBlock.io Web3 documentation.
Parameters
DATA - string
Hash of a transaction.
Request
wscat -c wss://rsk.getblock.io/YOUR-API-KEY/mainnet/ # wait for connection and send the request body {"jsonrpc":"2.0","method":"eth_getTransactionByHash","params": ["0x9683445fc38c4c33a15a7bea1d6b35bbb90874b97136563e8faf036f884f77e0"],"id":"getblock.io"}