Manage Bitcoin Addresses

Bitcoin vaults can have multiple addresses. This can be useful, for example, to create separate deposit addresses for different counterparties or, in the case of retail platforms, users. The balance of the vault is then aggregated across the different addresses, and outgoing transfers can use the funds from all of them in the same transaction.

Fordefi supports three types of addresses: Legacy, SegWit, and Taproot.

By default, every new Bitcoin vault comes with a default address of type Taproot. To create additional addresses, use the Create Address API endpoint. You can pass an optional name, or Fordefi will autogenerate a name for the new address. You can also specify the desired type of the address (legacy, segwit, or taproot). By default, a segwit address will be created.

{
    "name": "New Taproot Address",
    "address_type": "taproot",
}

To list a vault's addresses, use the List Addresses API endpoint.