PSBT v2 (BIP-370) API Usage Examples¶
This document provides real-world usage examples for PSBT v2 (BIP-370) operations in the Anya Core API.
Example: Create PSBT v2¶
Example: Sign PSBT v2¶
Example: Finalize PSBT v2¶
Migration: BIP-174 to BIP-370¶
- Use
/api/psbt/migrateendpoint to convert legacy PSBTs to v2 format.