eth_getTransactionByBlockNumberAndIndex

根据区块号,获取区块的第 index 个交易。

参数

  1. QUANTITY|TAG - 区块号,或字符串 "earliest"、"latest"。
  2. 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}