post_asset_transfer: Transfer Assets

View source: R/wrappers_post_asset.R

post_asset_transferR Documentation

Transfer Assets

Description

Transfer assets between funding, trading, and related accounts.

Usage

post_asset_transfer(
  ccy,
  amt,
  from,
  to,
  type = "0",
  sub_acct = NULL,
  loan_trans = NULL,
  omit_pos_risk = NULL,
  client_id = NULL,
  tz = .okx_default_tz,
  config
)

Arguments

ccy

Currency to transfer.

amt

Transfer amount.

from

Source account code, such as '"6"' for funding or '"18"' for trading.

to

Destination account code.

type

Optional transfer type code. Defaults to '"0"' for an internal transfer within the same account.

sub_acct

Optional sub-account name when the transfer type requires it.

loan_trans

Optional logical. Whether the transfer should be treated as a loan transfer.

omit_pos_risk

Optional logical. Whether to omit position risk checks where supported by OKX.

client_id

Optional client-supplied transfer request ID.

tz

Timezone used for any timestamp parsing.

config

API credential list.

Value

A 'data.frame' describing the submitted transfer request.


okxr documentation built on May 8, 2026, 5:09 p.m.