Predict Batch Transaction
Changed onSimulate the batch of transactions and show changes in token balances, in addition to the fee estimation <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/predict
- Auth: HTTP bearer
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
- info
added the optional property
///to the response with the status
- info
- 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
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
added the new
first_time_transfer_destinationenum value to the///response property for the response status
- warning