Skip to content

Deploy Stablecoin

POST
/stablecoin/deploy

Deploy a new stablecoin contract with the specified parameters.

Authorizations

Request Body required

object
name
required

Name of the stablecoin

string
symbol
required

Symbol of the stablecoin

string
decimals
required

Number of decimal places for the stablecoin token

integer
<= 18
adminWalletId
required

Wallet ID of the admin who will manage the stablecoin

string format: uuid
backingCurrency
required

The full name of the fiat currency backing this stablecoin (e.g., “United States Dollar”, “Japanese Yen”)

string
backingCurrencySymbol
required

The symbol of the fiat currency backing this stablecoin (e.g., ”$”, ”¥“)

string
factoryContractDeploymentId

Optional fsco contractDeploymentId for the factory contract. If not provided, will use default factory

string format: uuid
chainId

Optional chain ID for deployment. Defaults to local Anvil chain (31337) if not provided

integer

Responses

200

Stablecoin deployed successfully

object
stablecoinId

ID of the deployed stablecoin

string format: uuid

400

Bad Request

object
code
integer
400
message
string
Bad Request
details
string
Invalid input parameters