Update token
Updates stored token fields. For deployed tokens, metadata fields are also written on-chain through the current metadata authority.
Path parameters
Token identifier.
Token identifier.
Headers
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Request body
Example request
{
"name": "Example Token Updated",
"description": "Updated token description.",
"uri": "https://example.com/metadata.json",
"imageUrl": "https://example.com/token.png",
"status": "active",
"requiresAllowlist": true,
"maxSupply": "1000000"
}Response
Token updated
Example response
{
"data": {
"token": {
"id": "tok_example",
"projectId": "prj_example",
"organizationId": "org_example",
"signingWalletId": "privy_wallet_123",
"mintAddress": "So11111111111111111111111111111111111111112",
"mintAuthority": "So11111111111111111111111111111111111111112",
"freezeAuthority": "So11111111111111111111111111111111111111112",
"ablListAddress": "So11111111111111111111111111111111111111112",
"name": "Example Token",
"symbol": "EXM",
"decimals": 9,
"description": "Example token description.",
"uri": "https://example.com/metadata.json",
"imageUrl": "https://example.com/token.png",
"template": "stablecoin",
"extensions": {
"transferFee": {
"basisPoints": 25,
"maxFee": "0.5",
"transferFeeConfigAuthority": "So11111111111111111111111111111111111111112",
"withdrawWithheldAuthority": "So11111111111111111111111111111111111111112"
},
"interestBearing": {
"rate": 2.5,
"rateAuthority": "So11111111111111111111111111111111111111112"
},
"permanentDelegate": "So11111111111111111111111111111111111111112",
"pausable": {
"authority": "So11111111111111111111111111111111111111112"
},
"defaultAccountState": "initialized",
"scaledUiAmount": {
"authority": "So11111111111111111111111111111111111111112",
"multiplier": 1,
"newMultiplier": 2,
"newMultiplierEffectiveTimestamp": 1735689600
},
"transferHook": {
"programId": "So11111111111111111111111111111111111111112",
"authority": "So11111111111111111111111111111111111111112"
}
},
"totalSupply": "1000000",
"maxSupply": "10000000",
"isMintable": true,
"isFreezable": true,
"status": "active",
"deployedAt": "2025-01-05T00:00:00.000Z",
"createdBy": "key_example",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-02T00:00:00.000Z"
}
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}Changes
Changed in 1 of the 9 revisions of this API.5
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status403response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status500response-property-enum-value-added
- ●