Skip to content
LogoLogo

cw721-svg

The NFT collection you hold. Mint pays a price tier and receives SVG assembled on-chain.

Version 0.1.0. Generated from cw-schema (rustdoc on entrypoint enums). OpenAPI: docs/vocs/openapi/cw721-svg.json.

Instantiate

Required fields: name, price_tiers, seed, svg_template, symbol, template_slots, total, variables.

FieldMeaning
mint_end_time
mint_start_time
name
owner
payment_addressAddress to receive mint payments. Defaults to owner/sender.
price_tiersPrice tiers for minting. Empty or None = free mint.
seed
svg_template
symbol
template_slotsPre-computed placeholder positions in the SVG template. Each slot maps a ${varname} occurrence to its byte offsets and variable index.
total
variables
whitelistOptional merkle whitelist contract address. Whitelisted minters bypass fees.

Query

Read first. Each query is also GET /query/<name> in OpenAPI.

MessageWhat it returns
owner_of
approval
approvals
all_operators
num_tokens
contract_info
nft_info
all_nft_info
tokens
all_tokens
minter
svg_token_uri
svg_placeholderReturns a preview SVG with random placeholder values filled in.
config
svg_template
whitelist
mint_countReturns the total mint count for a given address.
wl_mint_countReturns the whitelist mint count for a given address.
ownershipQuery the contract's ownership information

Execute

MessageWhat it does
mint
pause
update_whitelistOwner-only: set or clear the merkle whitelist contract address
transfer_nft
send_nft
approve
revoke
approve_all
revoke_all
update_ownership

Deployed instances

From cw-orch state.json plus docs/vocs/deployments.json.

No addresses recorded yet for this contract.