Smart Accounts
Prepare Transaction
Prepare an arbitrary transaction for a smart account
POST
Key Concepts
- Transaction Signing: Only authorized signers can create transactions
- Destination: Tokens will be sent to the specified destination address
Important Notes
- The transaction must be valid and signed by the authorized signers
Authorizations
UUID-based API key provided by Squads
Headers
Specifies the network for the API request
Available options:
mainnet
, devnet
Path Parameters
The address of the smart account
Query Parameters
When true, includes transaction simulation logs in the response
Body
application/json
Response
200
application/json
Transaction prepared successfully
The response is of type object
.