Skip to main content
Version: 2.0

Submit batch transactions

POSThttps://mainnet-aptos-api.moralis.io/transactions/batch

Submit batch transactions to the Aptos Network.

BODY PARAM
No items in the array
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.AptosApi.transactions.submitBatchTransactions({});

console.log(response);
} catch (e) {
console.error(e);
}
Response Example
{
"transaction_failures": [
""
]
}