Send Transactions
Description: This endpoint submits signed transactions to the blockchain. This endpoint works uniformly for all transaction types prepared using the /prepare-transactions endpoint.
Headers:
x-api-key:YOUR_API_KEYfor API-key auth, orX-Paymentfor x402 retries when sending x402-eligible agentic prepared transactionsContent-Type:application/json
Workflow:
- Prepare Transactions: First, call
/prepare-transactionswith your desired method and parameters - Sign Transactions: Sign each transaction in the returned
transactionsarray using your preferred wallet or signing method - Send Transactions: Submit the signed transactions along with the
txIdto this endpoint
Supported Transaction Types:
This endpoint accepts signed transactions for all methods supported by /prepare-transactions:
newTokenization- Create new tokenized assetsnewSto- Create Security Token OfferingsnewInvest- Make investments in STOsclaimTokens- Claim tokens from completed STOscloseOffer- Close active STOsmintToken- Mint additional tokenswhitelist- Manage address whitelist statusapprove- Approve token spendingburnToken- Burn tokenstransferFrom- Transfer tokens (with approval)transferTo- Transfer tokens from signerdividendDistribution- Distribute dividendsnewTokenizedAgent/agentRegister- Register ERC-8004 agentsagentSetURI,agentSetMetadata,agentSetWallet- Maintain ERC-8004 agent profilesagentGiveFeedback,agentRevokeFeedback,agentAppendFeedbackResponse- Manage reputation entriesagentCreateToken,agentMintToken,agentBurnToken,agentTransferToken,agentTransferFromToken,agentApproveToken- Manage agent ERC-20 tokens
x402 can be used only for x402-eligible agentic prepared transactions. Do not mix x402-eligible and API-key-only transactions in the same send batch.
/prepare-transactions endpoint.
For x402-eligible agentic methods, this endpoint can be authenticated with either x-api-key or x402 payment. To use x402, omit x-api-key, read the PAYMENT-REQUIRED header from the 402 response, then retry with X-Payment.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
signedTransactions | string | string[] | Yes | Signed transaction hex string(s) starting with 0x. Can be a single string (legacy) or an array of strings |
txId | string | string[] | Yes | Transaction ID(s) from prepare-transactions response. Must match the format of signedTransactions (both strings or both arrays) |
[!IMPORTANT]signedTransactionsmust be a hex string (starting with0x), not an object or array of objects. BothtxIdandsignedTransactionsmust use the same format (both strings or both arrays).
Request Body
Legacy Format (Single Transaction)
Array Format (Multiple Transactions)
Response
Success Response
Error Response
Workflow
- Prepare Transactions: First, call
/prepare-transactionswith your desired method and parameters - Sign Transactions: Sign each transaction in the returned
transactionsarray using your preferred wallet or signing method - Send Transactions: Submit the signed transactions along with the
txIdto this endpoint
Supported Transaction Types
This endpoint accepts signed transactions for all methods supported by/prepare-transactions:
newTokenization- Create new tokenized assetsnewSto- Create Security Token OfferingsnewInvest- Make investments in STOsclaimTokens- Claim tokens from completed STOscloseOffer- Close active STOsmintToken- Mint additional tokenswhitelist- Manage address whitelist statusapprove- Approve token spendingburnToken- Burn tokenstransferFrom- Transfer tokens (with approval)transferTo- Transfer tokens from signerdividendDistribution- Distribute dividends
Transaction Status
After submitting transactions, you can check their status using the/get-transaction-status endpoint with the returned transaction hash (hash) or the original transaction ID (txId) from /prepare-transactions.
For x402 sends, the batch must contain only x402-eligible agentic prepared transactions and all transactions must be on the same chain.
Security Notes
- Always verify transaction details before signing
- Ensure the
txIdmatches the one received from/prepare-transactions - Use secure signing methods for production environments
- Never share private keys or expose them in client-side code
Authorizations
Body
Both txId and signedTransactions must use the same format (both strings or both arrays). signedTransactions must be hex strings starting with 0x, not objects.
Signed transaction hex string(s) starting with 0x. Can be a single string (legacy) or an array of strings. Must NOT be an object or array of objects.
"0x02f8b1018203e8843b9aca00850ba43b740082520894742d35cc6634c0532925a3b8d4c9db96c4b4d8b80b844a9059cbb000000000000000000000000456789abcdef..."
Transaction ID(s) from prepare-transactions response. Must match the format of signedTransactions (both strings or both arrays).
"0x11769b5c2028a8ed0a3bdc7599e244aee68e2cae80261d8954e44c3b5cb621a4"