For the complete documentation index, see llms.txt. This page is also available as Markdown.

节点的使用

请求地址

https://bundle.gtokentool.com/(你的ApiKey)

请求参数

我们简化了请求载体,使用捆绑交易只需要传递两个参数,非常简单,也让请求更加迅速。

txs中最多包含有50条交易元数据

maxBlockNumber最多设置为当前区块的后100个区块,不能小于当前区块

参数
必选
格式
示例
备注

txs

[]string

[ "0xf84a......e54284" ]

raw tx 签过名的交易的元数据

maxBlockNumber

uint64

39177941

该 bundle 有效的最大区块号

請求示例

Raw Bundle

curl -X POST -H "Content-Type: application/json" --data '{
	"txs": ["0xf84a8080808080808193a0437a5584216e68d1ff5bd7803161865e058f9bf4637fd1391213eac03ae64444a00df12bffe475d5dd8cc1544b72ee280471f1dcb5173827ba41eb25cfc3e54284"],
	"maxBlockNumber": 39177941,
}'<ETH_NODE_URL>

返回示例

正常

異常

如有不明白或者不清楚的地方,请加入官方电报群:https://t.me/gtokentool

最后更新于