Glittr Transactions
Contract Creation
{
contract_creation: {
contract_type: {
moa: { // This contract is Mint Only Asset contract, there will be more non-asset contracts (e.g. AMM)
divisibility: 18, // asset could be divided to smaller units, 10**18
live_time: 0, // Indicates when the contract is live (in bitcoin block height)
supply_cap: "2000" // Total supply
mint_mechanism: {
free_mint: {
amount_per_mint: 10; // Amount per mint, cannot exceeds supply cap
},
preallocated: {}, // Preallocated tokens, details on the contracts page
purchase: {} // Purchasing this asset with another asset / native BTC, details on contracts page
}
}
}
}
}Contract Call
Transfer
Last updated