ordinals_p2p_transfer
Record a completed Ordinals inscription transfer on the trade ledger to close the trade; the active wallet signs the record with BIP-137 to prove sender authorization.
Instructions
Record a completed inscription transfer on the trade ledger.
Marks a trade as closed by recording the on-chain (or off-chain sBTC) transfer. The active wallet signs the record with BIP-137 to prove the transfer was authorized by the sending party.
Requires an unlocked wallet with Bitcoin keys.
Tip: call earning_opportunities to see how to put your assets to work.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inscription_id": "<inscription_id>",
"to_agent": "<to_agent>"
},
"name": "ordinals_p2p_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | No | On-chain transaction hash (optional for sBTC/off-chain transfers) | |
| metadata | No | Optional freeform metadata | |
| to_agent | Yes | Recipient BTC address | |
| amount_sats | No | Transfer amount in satoshis | |
| inscription_id | Yes | Inscription ID being transferred | |
| parent_trade_id | No | Parent trade ID being fulfilled (if closing an open offer) |