Create ERC20Token
ERC20 Token can be created using this method. The weightage for this API is 5
API Specification
Create ERC20Token
POST
http://api.krypcore.com/api/v0/ft-manager/createERC20
ERC20 Token can be Created under the given instance.
Headers
Authorization*
String
User Auth Key obtained from Dash
DappId*
String
DappId
Request Body
chainId*
String
The Chain ID to specify the blockchain network
ERCStandard*
String
The standard of ERC (e.g., "ERC20") for the token
custodialWalletAccessToken*
String
Access Token for the custodial wallet
decimal
Numeric
The required decimal value for the token
premintAddress*
String
Pre Mint Address
tokenName*
String
The name of the token to be created
tokenSymbol*
String
The symbol of the token
walletType*
String
Type of Wallet
{
"Data": {
"contractAddress": "",
"referenceId": "b6c67768-e33a-406a-be2a-fe73d03acfcf",
"txnHash": ""
},
"Message": "ERC20 Token Created Successfully",
"Status": "SUCCESS"
}
Take a look at how you might call this method using our official libraries, or via curl
:
Here, "custodialWalletAccessToken" is wallet id.
curl --location --request POST 'https://api.krypcore.com/api/v0/ft-manager/createERC20' \
--header 'Authorization: xxxxxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxxxxx' \
--header 'Chainid: xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"ERCStandard": "ERC20",
"chainId": "xxxx",
"custodialWalletAccessToken": "d263d546-ccc2-4676-9691-d28c3f836822",
"decimal": 18,
"premintAddress": "0x466e1862CFC80F216dc4126cc883D731520f36DE",
"quantity": 100000000,
"tokenName": "KrypC Token",
"tokenSymbol": "KC01",
"walletType": "non-custodial"
}'
Last updated
Was this helpful?