Smart contract creation apis
ERC 20 smart contract
POST
https://api.mycontract.co:3001/v1/smartcontract/ERC20
Headers
Authentication
string
JWT token.
Request Body
tokenName
string
Enter name of the project without spaces, usually 5-25 symbols. Lower and uppercase can be used
tokenSymbol
string
Enter Token Symbol (eg. ETH, BTC, XDC)
tokenDecimals
string
Enter Token Decimals (eg. 18)
tokenSupply
string
Enter Total Supply (eg. 1000000000000)
ethRate
string
How many tokens will you be able to buy using 1 Eth ?
bonusRate
string
Enter bonus rate in whole Number.
isPausable
boolean
Pausing token transfer during some initial period (e.g. while a crowdsale is taking place), to enable pause/release transfers
isBurnable
boolean
Keeps the token’s “totalSupply” value up to date, Useful in case someone wants to burn some tokens to reduce the supply for their project or burn unsold tokens
isMintable
boolean
Building distribution / crowdsale logic directly into the token contract or by including a generic mint function that can be called by an external contract to establish the initial allocations.
isUpgradeable
boolean
Token issuer may wish to upgrade or migrate the token to a new address to comply with a upgraded or new token standard.
ERC 223 smart contract
POST
https://api.mycontract.co:3001/v1/smartcontract/ERC223
Headers
Authorization
string
JWT token
Request Body
tokenName
string
Enter name of the project without spaces, usually 5-25 symbols. Lower and uppercase can be used
tokenSymbol
string
Enter Token Symbol (eg. ETH, BTC, XDC)
tokenDecimals
string
Enter Token Decimals (eg. 18)
tokenSupply
string
Enter Total Supply (eg. 1000000000000)
ethRate
string
How many tokens will you be able to buy using 1 Eth ?
bonusRate
string
Enter bonus rate in whole Number.
isPausable
string
Pausing token transfer during some initial period (e.g. while a crowdsale is taking place), to enable pause/release transfers
isBurnable
string
Keeps the token’s “totalSupply” value up to date, Useful in case someone wants to burn some tokens to reduce the supply for their project or burn unsold tokens
isMintable
string
Building distribution / crowdsale logic directly into the token contract or by including a generic mint function that can be called by an external contract to establish the initial allocations.
isUpgradeable
string
Token issuer may wish to upgrade or migrate the token to a new address to comply with a upgraded or new token standard.
Last updated