Blog

Introducing Stablecoin Issuance API

2 min read
Ben Milne | Brale
Jared Dellitt | Brale
Chase Merlin | Brale
Introducing Stablecoin Issuance API - Brale Blog

Programmatically creating stablecoins based on other transfers, states, or needs with third-party systems is something we've always dreamed about. It's now very simple using the Brale Issuance API. Here is the code to mint a stablecoin in about 15 seconds.

POST https://api.brale.xyz/deployments/2CoiPeFVmUCiLcsEVo7YfH9CccI/mints

{
  "data": {
    "attributes": {
      "amount": {
        "currency": "USD",
        "value": "1"
      }
    },
    "relationships": {
      "destination": {
        "id": "2Xs0sXdEDHTnA1Ev1BqsEyUT3Kk",
        "type": "address"
      }
    },
    "type": "order"
  }
}

Redemptions back to USD or USDC are also supported in the API. To redeem, here is an example of redemption to USD using the Redemptions endpoint:

POST https://api.brale.xyz/deployments/2CoiPeFVmUCiLcsEVo7YfH9CccI/redemptions

{
  "data": {
    "attributes": {
      "amount": {
        "currency": "USD",
        "value": "1"
      }
    },
    "relationships": {
      "payment-destination": {
        "id": "2Y8ruJbPZ6wiFmuJGNPYt75Un2w", //The ID of the financial institution to receive a wire.
        "type": "financial-institution"
      }
    },
    "type": "order"
  }
}

Mints and redemptions through the Issuance API are available on all supported blockchains, including Ethereum, Polygon, Avalanche, Celo, Base, Optimism, Stellar, and Solana. Each blockchain has unique deployment IDs that designate the chain and the corresponding stablecoin that you'll be interacting with.

ChainStablecoinID
Brale Stable Coin (SBC) logoSBC2DGiYExmo31IMyFewRuB1rMgiPp
Glo Dollar (USDGLO) logoUSDGLO2RQzVYXTpyYCw9aRPgUflADFNcn
Brale Stable Coin (SBC) logoSBC2G8Em8ZfZYA5a5Qg2IkqM7LjiPJ
Glo Dollar (USDGLO) logoUSDGLO2RQzfsxVGEJGvdN3NmF12xrBolc
Brale Stable Coin (SBC) logoSBC2Wa3LQY2s13QrhpN5aMfNH0C8R9
Brale Stable Coin (SBC) logoSBC2U4rCt6F98DMLXbGgiDBR8mB2YR
Brale Stable Coin (SBC) logoSBC2UOlODcZFFlHweO78LyRzPIT3G9
Brale Stable Coin (SBC) logoSBC2VcUu9c3HQ2rImn29oi6BwR8AGg
Brale Stable Coin (SBC) logoSBC2CoiPjYT9E6yh1AewC0JalWIeNF
Brale Stable Coin (SBC) logoSBC2Skb9oyeDBV2CVjYrUVNtqgs3OD
Glo Dollar (USDGLO) logoUSDGLO2Tf2i4hhuoUqtH7i18W0SyWBVY4

To generate an API key and begin testing, you can log in to your account and generate a testnet or mainnet key to begin testing the API.

Screen recording of creating an application and API key with the Brale
Stablecoin Issuance API - Brale
Blog

We recognize that programmatic minting and burning of stablecoins is a key component of a scalable stablecoin program and we're grateful for the initial feedback that helped bring this to market. The API is in Beta and will continue to be updated as we gather additional feedback.

Get started

Follow the API docs to start testing

API Docs

Contributors

  • Ben Milne | Brale
    Ben Milne
    CEO
  • Jared Dellitt | Brale
    Jared Dellitt
    CTO
  • Chase Merlin | Brale
    Chase Merlin
    Sr Product Manager