aries_contract_meta
Get name, symbol, decimals, and total supply of an Alkanes contract using its block and transaction index. Note: some contracts may not implement meta view.
Instructions
Get an Alkanes contract's metadata (name, symbol, decimals, totalSupply) by its alkane id {block, tx}, via the alkanes_meta view. String id form is block:tx. Note: some contracts (incl. frBTC 32:0) do not implement the meta view and will error — for those, read fields via aries_simulate opcodes (or use aries_frbtc_status for frBTC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | Tx index within that block | |
| block | Yes | Etching block height | |
| blockTag | No |