根据区块号和交易索引位置返回交易信息。
根据区块号和交易索引位置返回交易信息。
参数
QUANTITY|TAG- 区块号,或字符串 "earliest"、"latest"。QUANTITY- 交易索引位置。
示例
请求
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockNumberAndIndex",
"params": ["0xfb82f0", "0x0"],
"id": 64
}'响应
{"jsonrpc":"2.0","id":64,"result":null}