Skip to main content
Please refer to the Python SDK for a comprehensive guide on subaccount spot transfer via API

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredUser’s wallet address (sender)42trU9A5…
“signature”stringrequiredCryptographic signature5j1Vy9Uq…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”to_account”stringrequiredDestination account address69trU9A5…
“symbol”stringrequiredSpot asset symbol (e.g. SOL)SOL
”amount”decimal stringrequiredAmount to transfer1.50000000
”idempotency_key”stringoptionalFull UUID. Prevents duplicate transfersf47ac10b-58cc-4372-a567-0e02b2c3d479
”agent_wallet”stringoptionalAgent wallet address69trU9A5…
“expiry_window”integeroptionalSignature expiry in milliseconds30000
The signature must be generated using the operation type "transfer_spot_asset".
The destination account must be a subaccount of the sender, or the sender must be a subaccount transferring to its parent.

Response

  • Status 200: Transfer completed successfully
  • Status 409: Duplicate idempotency key
  • Status 500: Internal server error

Code Example (Python)