Skip to main content
POST
Transfer a spot asset to another owner's subaccount

Body

application/json
amount
string<decimal>
required

Transfer amount in units of the asset, as a decimal string (e.g. "1.5") or JSON number.

asset_name
string
required
max_fee_usd
string<decimal>
required

Maximum sequencer fee the signer authorises, in USD, as a decimal string (e.g. "1.5") or a JSON number. Must cover both the transfer fee and any subaccount-creation fee.

new_subaccount_manager
integer<uint32>
required

Manager id for the new subaccount when to_subaccount_id == 0.

Required range: x >= 0
nonce
integer<int64>
required
recipient_address
string
required

Owner of the destination account/subaccount.

signature
string
required
signature_expiry_sec
integer<uint64>
required
Required range: x >= 0
signer
string
required
sub_id
integer<uint128>
required
Required range: x >= 0
subaccount_id
integer<uint64>
required
Required range: x >= 0
to_subaccount_id
integer<uint64>
required

Recipient's existing destination subaccount. 0 → create a new subaccount for recipient_address under new_subaccount_manager.

Required range: x >= 0

Response

Success

op_uuid
string
required
operation_id
integer<uint64>
required
Required range: x >= 0