Ethereum Classic
eth_callMany100 额度
在某个区块之上执行交易捆绑,不创建交易。
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| bundles | Object[] | 捆绑:每个包含 transactions 数组和可选的 blockOverride。 |
| simulationContext | Object | 运行所在的 blockNumber 和 transactionIndex。 (可选) |
返回值
类型
Object[]
每个捆绑的结果。
代码示例
curl https://holy-burned-sky-etc-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_callMany",
"params": [
[
{
"transactions": [
{
"to": "0x0000000000000000000000000000000000000000",
"data": "0x"
}
]
}
],
{
"blockNumber": "latest",
"transactionIndex": -1
}
]
}'