文档
定价GitHub控制台

Aptos

/v1/transactions/batch180 额度

Submit a batch of signed transactions

网络: apt

参数

名称类型描述
(body)object[]Body. JSON array of signed transactions, each shaped like the body of POST /v1/transactions (sender, sequence_number, max_gas_amount, gas_unit_price, expiration_timestamp_secs, payload, signature).

返回值

类型

object

transaction_failures: array of { error, transaction_index } for transactions the node rejected. HTTP 202 when all were accepted, 206 when some or all failed.

代码示例

curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/transactions/batch' \
  -X POST \
  -H 'content-type: application/json' \
  -d '{}'