Skip to main content

Tokens and emissions

AMA, PRIME and user-created coins, how each epoch's emission is split between vaults and solvers, what transactions cost and where fees go, how burning works and which endpoints report supply.

Everything on this page comes from the node's built-in contracts (Coin, Epoch, LockupVault) in amadeusprotocol/node 1.6.5. Live figures come from the mainnet RPC. They change every block, so read them from the API instead of copying them.

AMA​

AMA is the native token. Fees, vault staking and validator stake are paid in it.

PropertyValue
SymbolAMA
Decimals9. 1 AMA = 1,000,000,000 base units ("flat" amounts in the SDK and node)
Max supply1,000,000,000 AMA
New supplyCreated only by the per-epoch emission payouts described below

Emission per epoch​

At the end of every epoch (100,000 blocks, about 13 h 53 min) the protocol distributes that epoch's emission. The amount decays over time:

  • From epoch 750: emission = 1,430,936,428 / (epoch + 72)^1.3 AMA. That is about 232,445 AMA at epoch 750, 186,174 AMA at epoch 903 and 131,762 AMA at epoch 1200.
  • Before epoch 750: the first curve started at 1,000,000 AMA per epoch and dropped by 0.0333% each epoch. Testnet is still in this range (epoch 76 emits about 975,005 AMA).

The current value is emission_for_epoch in GET /api/chain/stats.

Where the emission goes​

Each epoch's emission is split in half.

The vault half (50%) pays the yield on staking vaults, together with whatever earlier epochs left unpaid in the vault pool. Only vaults delegated to a validator in the current validator set earn yield. If the yield due is more than this budget, every vault is paid pro rata. A vault's backing validator takes its commission from that vault's yield. From epoch 1150 on, vault yield is also reduced by low participation (see below).

The solver half (50%) pays solvers, the nodes that submit MatMul uPoW solutions. Only part of it is paid out each epoch:

  • Participation is the network's measured compute in PFLOPS, kept between a floor of 10 and a target of 100.
  • The solver half pays out participation % of itself. At 100 PFLOPS or more it pays in full. On a quiet network it pays at least 10%.
  • The paid share goes to the solvers that are in the current validator set, split in proportion to the solutions each submitted. It goes to the solver's emission address if one is set with Epoch.set_emission_address, and otherwise to the solver's own key.
  • The unpaid part accrues in a solver pool. It is not burned.

Network tax. A tax equal to 25% of everything paid out that epoch (vault yield plus solver payouts) goes to the treasury address. It is funded from what is left of the vault budget and capped at that amount, so payouts are never reduced to pay it. Whatever is still left rolls into the vault pool for later epochs.

There is no per-block reward. The ama.one participation page explains the solver half with worked examples.

Vault yield​

Staking vaults (LockupVault) lock AMA for a fixed term. The yield rate is fixed when the vault is created:

TierLockYield (APY)
ogNone by default (optional, in months)0%
3m3 months5%
6m6 months10%
12m12 months15%, plus 5% for 12-month vaults created before epoch 1150

In node 1.6.5, creating a vault (LockupVault.create) is enabled on testnet only.

The minimum vault is 1,000 AMA. Unlocking takes 21 days (37 epochs). To enter the validator set through staking, a validator needs at least 1,000,000 AMA (amount plus accrued yield) in vaults delegated to it. To stake from code, see Staking.

Transaction fees​

There is no flat transfer fee. A transaction pays for the bytes it adds to the chain and for the work and state it uses, in AMA. Costs below are in base units (1 AMA = 1,000,000,000).

Budget. Before a transaction runs, the node locks a budget from the signer's AMA balance: 0.01 AMA (TX_BUDGET) plus the transaction's attached_gas, if it has any. A node accepts the transaction only if the balance covers the whole budget, and rejects it with not_enough_tx_exec_balance otherwise. The budget is locked before the action runs, so sending X AMA needs a balance of at least X + 0.01 AMA. If the balance covers the budget but not the amount on top of it, the transfer is included but fails with insufficient_funds, and its costs are still charged.

Charges. The budget pays for:

ChargeCost
History1,111 units per byte of the serialized transaction
Execution5,000 units per state read and 25,000 per state write, plus 1 per byte, plus contract instructions. Capped at 2,000,000 units (0.002 AMA, TX_EXEC_LOCK)
Storage5,555 units per byte of new state, plus 711,040 units for each new key in the state tree. Contract logs, abort messages and return values also pay 1,111 units per byte from it. Gets the rest of the budget

After the transaction runs, successful or not, the unused budget is refunded. A transaction can never cost more than its budget. The receipt's exec_used is the total charged (history, execution and storage). The rates are fixed: there is no fee market and costs do not change with network load.

Where it goes. Every charge is split by the node: 50% goes to the validator that signed the block containing the transaction and 50% goes to the burn address.

A standard transfer. An AMA Coin.transfer built with SDK 1.7.0 serializes to about 225 bytes:

RecipientHistoryExecutionStorageTotal
Already holds AMAabout 250,000about 65,0000about 315,000 (0.0003 AMA)
New accountabout 250,000about 65,000about 1,144,000about 1,460,000 (0.0015 AMA)

A new recipient costs more because its balance is a new key in the state. Mainnet receipts match: the transfer 4nTtreRUc1c6cyPxRkuoPZ2Nacn6sauemgsLGtZSPUVk reports exec_used 310809 (0.00031 AMA). Contract calls and deploys are covered in Gas and fees.

The 0.02 AMA wallet reserve. The SDK exports AMA_TRANSFER_FEE = 0.02. It is a conservative reserve, not what the chain charges. The Amadeus Wallet extension and the mobile wallet show it as Network fee: ~0.02 AMA, add it to the Total on the confirm screen and keep it back for MAX and their balance check. The web wallet keeps the same 0.02 AMA back for its 100% button and balance check. The chain then charges only the actual cost above and refunds the rest, so your balance drops by the amount plus a fraction of 0.01 AMA. Holding 0.02 AMA back always covers the 0.01 AMA budget.

Burning​

The burn address is 48 zero bytes. There is no Coin.burn function. To burn tokens, send them with Coin.transfer to the burn address.

  • AMA sent to the burn address stays there. It is reported as burned and left out of circulating.
  • Any other coin sent to the burn address is also removed from that coin's totalSupply.

Supply endpoints​

FieldEndpointMeaning
emission_for_epochGET /api/chain/statsTotal emission for the current epoch, before the split above
circulatingGET /api/chain/statsAMA in wallets, minus the burn address balance
total_lockedGET /api/chain/statsAMA in staking vaults (amount plus accrued yield)
total_supplyGET /api/chain/statscirculating + total_locked
supply_computed_at_heightGET /api/chain/statsHeight at which the three supply figures above were computed. Nodes recompute them every 6 hours
burnedGET /api/chain/statsAMA held by the burn address
total_supply_y3, total_supply_y30GET /api/chain/statsFixed reference figures for supply at year 3 (804,065,972) and year 30 (1,000,000,000, the max supply)
ama_burned, fees_paidGET /api/chain/kpiAMA held by the burn address, and fees_paid reported as twice that amount
curl -s https://mainnet-rpc.ama.one/api/chain/stats | jq '.stats | {height, emission_for_epoch, circulating, total_supply, total_locked, burned, supply_computed_at_height, total_supply_y30}'
{
"height": 90324144,
"emission_for_epoch": 186174.39864689,
"circulating": 598612457.2121049,
"total_supply": 709612457.2121049,
"total_locked": 1.11E+8,
"burned": 2276198.674806478,
"supply_computed_at_height": 90302713,
"total_supply_y30": 1000000000
}

With the SDK:

import { AmadeusSDK } from '@amadeus-protocol/sdk'

const sdk = new AmadeusSDK({ baseUrl: 'https://mainnet-rpc.ama.one/api' })

const { stats } = await sdk.chain.getStats()
const { kpi } = await sdk.chain.getKpi()

console.log({
epoch: Math.floor(stats.height / 100_000),
emissionForEpoch: stats.emission_for_epoch,
circulating: stats.circulating,
totalSupply: stats.total_supply,
totalLocked: stats.total_locked,
supplyComputedAtHeight: stats.supply_computed_at_height,
burned: stats.burned,
feesPaid: kpi.fees_paid,
maxSupply: stats.total_supply_y30
})

PRIME​

PRIME is a points token issued by the chain itself, at epoch 792 on mainnet and epoch 462 on testnet. The ama.one roadmap describes it as prime points, issued by the chain and minted by AMA Hub, and as a reward for locking AMA in vaults.

  • Soulbound. It cannot be transferred. Coin.transfer with symbol PRIME fails with soulbound.
  • Admin-minted. Only the protocol's admin keys can mint it.
  • Pausable by the same admins.

Read an account's PRIME balance with GET /api/wallet/balance/<public key>/PRIME, or with the SDK:

import { AmadeusSDK } from '@amadeus-protocol/sdk'

const sdk = new AmadeusSDK({ baseUrl: 'https://mainnet-rpc.ama.one/api' })
const address = '6V42x1NRfzMxhjjrfqp73SHYAurDVLcW9WBLfoFbf5sj7FzaS59WRcPNt2jvmdF85E'

const { balance } = await sdk.wallet.getBalance(address, 'PRIME')
const { balances } = await sdk.wallet.getAllBalances(address)

console.log(balance.symbol, balance.flat, balance.float)
console.log(balances.map((entry) => `${entry.symbol}: ${entry.float}`))

User-created coins​

The Coin contract also holds tokens that accounts create themselves. Creating a coin is enabled on testnet only in node 1.6.5.

Coin.create_and_mint takes these arguments in order:

ArgumentRule
symbol1 to 32 ASCII letters or digits. It cannot start with AMA or W (case-insensitive), cannot be a reserved ticker (a built-in list of major tickers, including PRIME), and cannot match an existing coin or NFT collection
amountInitial supply in base units, minted to the creator. Must be greater than 0
decimalsOptional, 0 to 9. Default 9
mintable, pausable, soulboundOptional, "true" or "false". Default "false"

The creator becomes the coin's admin. Accounts on the admin list can then call these functions, which work on both mainnet and testnet for coins that already exist:

  • Coin.mint(receiver, amount, symbol) if the coin is mintable.
  • Coin.pause(symbol, "true" | "false") if the coin is pausable.
  • Coin.update_permission to add or remove admins. The list can never be empty.

Anyone holding a coin moves it with Coin.transfer(receiver, amount, symbol), unless the coin is paused or soulbound.

A coin's supply is stored under the key coin:<SYMBOL>:totalSupply, in base units:

curl -s -X POST --data-binary 'coin:PRIME:totalSupply' https://mainnet-rpc.ama.one/api/contract/get
"3789929760000000000"

Native NFTs (Nft.create_collection, Nft.mint, Nft.transfer, Nft.update_permission) are also enabled on testnet only. To build these calls from TypeScript, see Contracts and NFTs.