Skip to main content

Asset Tools

Tools for asset management. Internal transfers require full permission mode.

Read-only

get_coin_balance

Query coin balance of a specific account type.

Parameters:

NameTypeRequiredDescription
accountTypestringYesUNIFIED, CONTRACT, SPOT, OPTION, FUND
coinstringNoCoin name (e.g. USDT)
memberIdstringNoUID (for sub-account queries)
withTransferSafeAmountintNo0 or 1

get_coin_info

Query coin information including chain info, deposit/withdraw status.

Parameters:

NameTypeRequiredDescription
coinstringNoCoin name. Returns all coins if omitted.

get_transfer_history

Query internal transfer records.

Parameters:

NameTypeRequiredDescription
transferIdstringNoUUID of transfer
coinstringNoCoin name
statusstringNoSUCCESS, PENDING, FAILED
startTimeintNoStart timestamp (ms)
endTimeintNoEnd timestamp (ms)
limitintNoMax 50, default 20
cursorstringNoPagination cursor

Write (requires full mode)

internal_transfer

Transfer funds between account types under the same UID. HIGH risk — requires confirmation and full mode.

Parameters:

NameTypeRequiredDescription
transferIdstringYesUUID (generate before calling)
coinstringYesCoin name (e.g. USDT)
amountstringYesTransfer amount
fromAccountTypestringYesSource: UNIFIED, CONTRACT, SPOT, OPTION, FUND
toAccountTypestringYesDestination account type
warning

This tool requires BYBIT_MODE=full. It is not available in read or trade modes.