Skip to main content

Unity SDK TokenContract object

Docs for TezosManager.Instance.Tezos.TokenContract:

Info about how we provide a built-in FA2 contract and what it can do

Properties

  • Address
  • TokensCount
  • LastActivityTime

Methods

Constructors

new TokenContract(string address)

Does this create a contract object from a previously-deployed contract?

new TokenContract()

Mint()

void Mint(
Action<TokenBalance> completedCallback,
TokenMetadata tokenMetadata,
string destination,
int amount)

Info about what this does, its parameters, and what it returns. Include an example.

Transfer()

void Transfer(
Action<string> completedCallback,
string destination,
int tokenId,
int amount)

Info about what this does, its parameters, and what it returns. Include an example.

Deploy()

void Deploy(Action<string> completedCallback)

Info about what this does, its parameters, and what it returns. Include an example.