Skip to content
LogoLogo

cw-svg-minter

Factory that creates on-chain SVG collections.

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

Instantiate

Required fields: svg_code_id.

FieldMeaning
ownerOptional owner. If set, only the owner may create collections.
svg_code_idCode ID of the cw721-svg contract to instantiate.

Query

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

MessageWhat it returns
list_svg_collectionsReturns a paginated list of all svg collections.
list_svg_collections_reverseReturns a paginated list of all svg collections in reverse.
list_svg_collections_by_creatorReturns a paginated list of svg collections created by a specific address.
list_svg_collections_by_creator_reverseReturns a paginated list of svg collections by creator in reverse.
ownershipReturns ownership info.
code_idReturns the cw721-svg code ID currently used to instantiate collections.

Execute

MessageWhat it does
create_svg_collectionCreate a new cw721-svg collection. Uses instantiate2 for deterministic, anti-collision address prediction.
update_code_idOwner-only: update the cw721-svg code ID used for new collections.
update_ownershipUpdate the contract's ownership. The action to be provided can be either to propose transferring ownership to an account, accept a pending ownership transfer, or renounce the ownership permanently.

Deployed instances

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

No addresses recorded yet for this contract.