Deploy a Token
cURL Example
curl -X POST \
-H "Content-Type: application/json" \
-d '{ "name": "MyToken", "symbol": "MTK", "chain_id": "8453", "apiKey": "dg_30808C73C230D1BBC..." }' \
https://api.digifi.fun/deployTokenThis endpoint returns a structured JSON response with deployment details upon completion.
Success Response (200)
JSON Response
{
"success": true,
"message": "Deployment completed successfully",
"data": {
"name": "TokenName",
"symbol": "TKN",
"chain_id": "8453",
"tokenAddress": "0xdc35bce492135d04dBA61697ccbE94c485c34A93",
"poolAddress": "0x11852AA3665659B01398714bD9E58Abb7798854d",
"positionId": "123",
"explorerUrl": "https://basescan.org/token/0xdc35bce492135d04dBA61697ccbE94c485c34A93",
"feeCollector": "0x1ab186D064171DB900fa6701A3eF5C5153ecbC24"
},
"deploymentId": "690cc7144dad8378507f65eb"
}Error Response (500)
JSON Response
{
"success": false,
"message": "Deployment failed",
"error": "Deployment process exited with code: 1",
"details": "full deployment output...",
"deploymentId": "690cc7144dad8378507f65eb"
}API Configuration
Base URL
https://api.digifi.com/v1Authentication
Authorization: Bearer YOUR_API_KEYAvailable Endpoints
POST
/deployTokenDeploy a new token with specified parameters. Returns a structured JSON response with deployment details including token address, pool address, position ID, and explorer URL.
Parameters:
name- Token namesymbol- Token symbolchain_id- Blockchain network IDapiKey- Your API key
GET
/tokensRetrieve a list of all deployed tokens with their metadata.
GET
/tokens/{tokenAddress}Get detailed information about a specific token by its address.
Ready to Start Building?
Get your API key and start integrating Digifi's token deployment capabilities into your applications.
