Fund the intent
- Request a quote with the RGB asset identifier as
source_token. - Create the intent with the user’s Bitcoin address and
user_source_public_key. - Check that
approval_mechanismisbroadcast. - Read
deposit_tx_data.RgbLock.witness_invoice. - Pay the invoice from the user’s RGB wallet. Post the consignment and broadcast the wallet’s colored transaction.
- Submit the broadcast transaction hash to
POST /affiliate/v1/intents/{intent_id}/deposit. - Track the intent status.
psbt approval for this flow.
The deposit check validates both the on-chain lock and the RGB consignment. Error code 76 with HTTP 409 permits a retry with the same transaction hash. See Report a user deposit.
For lock templates and claims, see RGB USDT settlement.