Create an ERC20 Token
POST/admin/tokens/create
Creates an ERC20 token owned and managed by project's backend account
Request
Query Parameters
apiKey string
(Required) You Public API key
Example: {{publicKey}}
Header Parameters
API-SECRET string
(Required) You Secret API key
Example: {{secretKey}}
Content-Type string
Example: application/json
Accept string
Example: application/json
- application/json
 
Body
name string
symbol string
initialSupply string
Responses
- 201
 - 400
 - 401
 - 403
 
Created
- application/json
 
- Schema
 - Example (from schema)
 - Example
 
Schema
object
{}
{
  "job": {
    "status": "pending",
    "_id": "62b175498c261600149409e1",
    "name": "createToken",
    "data": {
      "bridgeType": "home",
      "accountAddress": "0xbC3bA1ae0a4Cf6269F79d0D30767C60cB58D7Ff2",
      "name": "My Cool Token",
      "symbol": "MCT",
      "initialSupplyInWei": "0",
      "tokenURI": "",
      "expiryTimestamp": 1939300629,
      "spendabilityIdsArr": [
        "a",
        "b",
        "c"
      ]
    },
    "createdAt": "2022-06-21T07:37:45.626Z",
    "updatedAt": "2022-06-21T07:37:45.626Z",
    "__v": 0
  }
}
Bad Request
- text/plain
 
- Schema
 
Schema
string
Unauthorized
- text/plain
 
- Schema
 
Schema
string
Forbidden
- text/plain
 
- Schema
 
Schema
string
Loading...