Create Batch Transaction
Changed onCreate a batch of transactions. <br> Batch transactions are currently supported only on Solana.
Request
- Base URL: https://api.fordefi.com
- URL: https://api.fordefi.com/api/v1/batch-transactions
- Auth: HTTP bearer
Headers
Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. x_signature is valid for 120 seconds.
Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks.
Optional idempotence ID of a transaction.
Request body
Example request
{
"details": {
"fee": {
"priority_fee": "1000000000000000000",
"unit_price": "1000000000000000000"
},
"transactions": [
{
"instructions": [
{
"data": "SGVsbG8="
}
],
"accounts": [
{
"address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
"ephemeral_key": "lnNyP8kFPEaVpvUo/SIlhdZlzhPU8r7yT/h0gG5ajzQ="
}
],
"address_table_lookups": [
{
"account_key": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
}
],
"signatures": [
{
"data": "SGVsbG8="
}
],
"recent_blockhash": "4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZAMdL4VZHirAn"
}
]
}
}Response
Successful Response
Changes
- warning
added the new
canton_withdraw_ofenum value to the/////response property for the response status - warning
added the new
canton_withdraw_ofenum value to the/////response property for the response status - warning
added the new
canton_withdrawn_byenum value to the/////response property for the response status - warning
added the new
canton_withdrawn_byenum value to the/////response property for the response status
- warning
- warning
added the new
first_time_transfer_destinationenum value to the//////response property for the response status - warning
added the new
first_time_transfer_destinationenum value to the//////response property for the response status
- warning