Skip to main content
Try Cobo WaaS Skill in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster 🚀

Overview

Every token transfer is processed in one of the following ways:
  • Cobo Loop transfer settles off-chain between accounts on Cobo Portal through the Cobo Loop transfer network, when the destination supports it.
  • On-chain transfer broadcasts the transaction to the blockchain.

Control routing with request parameters

The Transfer token operation provides two boolean parameters to control whether the transfer uses Cobo Loop or is sent on-chain: force_internal and force_external.
SettingRouting behavior
force_internal = trueForces the transfer to use Cobo Loop (off-chain).
force_external = trueForces the transfer to be sent on-chain.
Both false (default)Uses Cobo Loop if the destination supports it; otherwise sends the transfer on-chain.
Both trueThe request is rejected with an HTTP 400 error (error code 2006, invalid parameter).
These parameters are available only for transfers to an address destination. For the supported destination types, see the Transfer token operation.