Client to a specific SNIP-721 non-fungible token contract.

Hierarchy

Implements

Constructors

Properties

address?: string

Address of the contract on the chain.

agent?: Agent

Agent that will interact with the contract.

codeHash?: string

Code hash confirming the contract's integrity.

fee?: IFee

Default fee for all contract transactions.

fees: Record<string, IFee> = {}

Default fee for specific transactions.

log: Console = ...
meta: Contract<any>

Contract metadata.

Accessors

Methods

  • Get the recommended fee for a specific transaction.

    Parameters

    • Optional msg: string | Record<string, unknown>

    Returns undefined | IFee

  • Throw if fetched metadata differs from configured.

    Parameters

    • kind: string
    • expected: any
    • actual: any

    Returns void

Generated using TypeDoc