Create a contract
Contract
Create a contract
Create a contract
POST
Create a contract
Authorizations
Body
application/json
Body
Maximum string length:
40The address of the contract
Example:
"0x1234567890abcdef1234567890abcdef12345678"
Available options:
erc20, erc721, erc1155, custom Response
201
Schema for a contract
Unique identifier for the contract
Example:
"123e4567-e89b-12d3-a456-426614174003"
Name of the contract
Maximum string length:
40Example:
"My Contract"
Contract address matching the required format
Pattern:
^0x[a-fA-F0-9]{40}$Example:
"0xabc123..."
ID of the blockchain chain
Example:
1
Type of the contract
Available options:
erc20, erc721, erc1155, custom Example:
"ERC721"
Unique identifier for the organization
Example:
"123e4567-e89b-12d3-a456-426614174002"
Application Binary Interface of the contract
Example:
"[{ \"constant\": true, ... }]"
Optional icon image for the contract; used as the reward token icon
Example:
"https://cdn.example.com/contract-icon.png"