Aptos
/v1/transactions/batch180 kredi
Submit a batch of signed transactions
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| (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). |
Dönüş değeri
Tür
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.
Kod örnekleri
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 '{}'