% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers_post_asset.R
\name{post_asset_transfer}
\alias{post_asset_transfer}
\title{Transfer Assets}
\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{
\item{ccy}{Currency to transfer.}

\item{amt}{Transfer amount.}

\item{from}{Source account code, such as `"6"` for funding or `"18"` for
trading.}

\item{to}{Destination account code.}

\item{type}{Optional transfer type code. Defaults to `"0"` for an internal
transfer within the same account.}

\item{sub_acct}{Optional sub-account name when the transfer type requires it.}

\item{loan_trans}{Optional logical. Whether the transfer should be treated
as a loan transfer.}

\item{omit_pos_risk}{Optional logical. Whether to omit position risk checks
where supported by OKX.}

\item{client_id}{Optional client-supplied transfer request ID.}

\item{tz}{Timezone used for any timestamp parsing.}

\item{config}{API credential list.}
}
\value{
A `data.frame` describing the submitted transfer request.
}
\description{
Transfer assets between funding, trading, and related accounts.
}
