latestOpenAPI 3.0.02026-08-22107190316.9 KB

6aec27d55fba

portfolio

Intra Account Transfer

Transfers funds within the same account.

Cross-exchange-index subaccount transfers run in up to three non-atomic steps. If a later step fails, completed steps are not undone, so funds may remain in the primary account on the source or destination exchange index.

post/portfolio/intra_exchange_instance_transfer

Request body

source'event_contract' | 'margined' required

The exchange instance type

destination'event_contract' | 'margined' required

The exchange instance type

amountinteger required

The amount to transfer in centicents

source_exchange_shardinteger

Source exchange shard index (default 0)

destination_exchange_shardinteger

Destination exchange shard index (default 0)

source_subaccountinteger

Source subaccount number (default 0 for the primary account). Only supported for event contract to event contract transfers.

destination_subaccountinteger

Destination subaccount number (default 0 for the primary account). Only supported for event contract to event contract transfers.

Response

Transfer request accepted. The transfer is processed asynchronously.

transfer_idstring required

The ID of the transfer that was created