Transfer¶
Send an AIBRC asset to one recipient or paste a list for many recipients. Review the instruction and BTC cost, then approve in your wallet.
Your wallet keeps your keys. Single uses the existing UniSat or OKX wallet payment flow. Batch prepares a multi-recipient transaction plan locally using UniSat’s safe BTC coins, then asks the wallet to sign and broadcast. Both modes read back the original transaction IDs.
Send an asset¶
Protocol 0.25.0 · Sign v1
Review before signing
Choose a wallet and connect when ready.
View the original Bitcoin transactionOne transfer, many recipients
Paste an address and token amount on each line. The tool builds the complete transaction plan; your wallet signs and broadcasts.
Confirm the complete plan
No platform account or indexer. Safe BTC UTXOs come only from the wallet. Unknown broadcast results stop the batch; this page never automatically resends.
Previous batch results
Kept only in this open page. Match the source lines to your list; never resend rows whose result is unknown.How to use it¶
- Connect a wallet. Use Bitcoin mainnet with a Native SegWit P2WPKH (
bc1q) or Taproot P2TR (bc1p) address. Not everybc1qscript is supported. - Identify the asset. Paste its confirmed deployment transaction ID. The tool finds its block height and transaction position. The advanced option accepts that
height:txIndexdirectly. - Enter and review. Amounts are tokens, with up to eight decimal places. Check the recipient, exact amount and decoded instruction.
- Approve in your wallet. The transaction sends 546 BTC sats to the recipient, carries the AIBRC instruction in
OP_RETURN, and pays the network fee selected in your wallet. Those BTC amounts are separate from the token amount. - Follow the original transaction. The page shows its txid and checks its structure and Bitcoin confirmation. Check transaction and Refresh confirmation only read that txid; they never send another payment.
Asset + amount + recipient
→ Review the AIBRC instruction
→ Approve and send in your wallet
→ Read the original Bitcoin transaction
→ Bitcoin confirmation
→ AIBRC indexer applies the protocol rules
Bitcoin confirmation and a matching instruction are distinct from an applied asset transfer. An AIBRC indexer also checks the asset, authorization and sender balance. If the data service is slow, keep the original txid and check it again rather than repeating the payment.
Batch: one transfer, many recipients¶
- Select Batch and connect UniSat. Enter the deploy transaction ID or
height:txIndex. - Paste one address and token amount per line. Spaces, commas or tabs separate the fields. Blank lines and
#comments are ignored. Duplicate addresses merge by default; switch merging off to keep separate allocations. - Set the network fee rate in sat/vB, then review the plan. It shows every transaction’s source lines, recipient count, fee and expected txid, plus the total BTC cost. Each recipient receives 546 BTC sats, separate from their token amount.
- Review the wallet requests. The tool uses batch signing when available, but your wallet may still ask for approval of each transaction. All signed transactions must match the prebuilt plan before the first is broadcast.
- Follow the results by source line and txid. A failed or unknown broadcast stops the remaining transactions. Verification retry reads only the original txids and never resumes sending. When you start a new draft, the previous result stays visible in this page; compare it with your list before sending again. Reloading the page clears that local history.
Address + amount on each line
→ Validate and group the list
→ Review all outputs, fees and source lines
→ Wallet signs the prebuilt transactions
→ Check the entire signed plan
→ Broadcast in order
├─ Success → read the original txid
└─ Unknown or failed → stop; verify only
Batch measures the actual encoded instruction and splits before exceeding the 80-byte compatibility payload or 25 allocations per transaction. At one token each, 12 allocations use 78 bytes, so 30 different recipients become 12 + 12 + 6. Other quantities can split differently. A complete plan can contain up to 24 chained transactions; the tool does not silently omit remaining rows.
Batch funding comes only from the wallet’s safe BTC UTXO interface and must match confirmed Bitcoin outputs. It never selects coins from an address-UTXO explorer API. OKX remains available in Single; Batch is disabled until a documented safe funding interface can be used through the same flow. Check your AIBRC balance before sending: a matching Bitcoin transaction alone does not prove the asset transfer applied.
A small code example¶
For complete SDK scripts, see deployment, single and batch transfers, decoding and state hashing. The Single form sends to one recipient; Batch builds the matching outputs for a list. The protocol supports 1–25 allocations when the Bitcoin transaction contains the corresponding receiver outputs.
The browser module encodes the instruction; UniSat builds and sends the Bitcoin transaction. This example sends 10 tokens of an asset at the illustrative locator 976720:1. Replace the locator and recipient with your own, and check your balance before sending.
import { NetworkId, encodeTransfer } from
'/sign/aibrc-protocol.browser.js';
const payload = encodeTransfer({
network: NetworkId.MAINNET,
authInputIndex: 0,
assetLocator: { blockHeight: 976720, txIndex: 1 },
allocations: [{
receiverOutputIndex: 0,
amount: 10n * 100000000n,
}],
});
// Requests wallet approval and broadcasts if approved.
const txid = await window.unisat.sendBitcoin(
recipientAddress, 546,
{ memo: payload.toString('hex') },
);
The page checks the returned transaction against the reviewed payload, recipient output and sender input. Wallet versions can differ; review the wallet's payment details before approving. A successful UniSat transfer has been observed with this output layout; OKX in-app compatibility still needs a real-wallet check.
Share a prefilled draft¶
/sign/?v=1&asset=<deploy-txid>&amount=10&to=<address>
The link fills the form only. It does not connect a wallet, request a signature or send a transaction. Addresses and amounts in a link can appear in browser history and hosting access logs.