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.
| Setting | Routing behavior |
|---|---|
force_internal = true | Forces the transfer to use Cobo Loop (off-chain). |
force_external = true | Forces 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 true | The request is rejected with an HTTP 400 error (error code 2006, invalid parameter). |
