Aptos
/v1/transactions/batch180 créditos
Submit a batch of signed transactions
Parámetros
| Nombre | Tipo | Descripción |
|---|---|---|
| (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). |
Valor devuelto
Tipo
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.
Ejemplos de código
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 '{}'