Skip to main content

Unity SDK API object

Docs for TezosManager.Instance.Tezos.API:

Properties

None.

Methods

GetTezosBalance()

IEnumerator GetTezosBalance(Action<ulong> callback, string address);

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

ReadView()

IEnumerator ReadView(string contractAddress,
string entrypoint,
string input,
Action<JsonElement> callback);

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

GetTokensForOwner()

IEnumerator GetTokensForOwner(
Action<IEnumerable<TokenBalance>> callback,
string owner,
bool withMetadata,
long maxItems,
TokensForOwnerOrder orderBy);

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

GetOwnersForToken()

IEnumerator GetOwnersForToken(
Action<IEnumerable<TokenBalance>> callback,
string contractAddress,
uint tokenId,
long maxItems,
OwnersForTokenOrder orderBy);

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

GetOwnersForContract()

IEnumerator GetOwnersForContract(
Action<IEnumerable<TokenBalance>> callback,
string contractAddress,
long maxItems,
OwnersForContractOrder orderBy);

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

IsHolderOfContract()

IEnumerator IsHolderOfContract(
Action<bool> callback,
string wallet,
string contractAddress);

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

IsHolderOfToken()

IEnumerator IsHolderOfToken(
Action<bool> callback,
string wallet,
string contractAddress,
uint tokenId);

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

GetTokenMetadata()

IEnumerator GetTokenMetadata(
Action<JsonElement> callback,
string contractAddress,
uint tokenId);

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

GetContractMetadata()

public IEnumerator GetContractMetadata(
Action<JsonElement> callback,
string contractAddress);

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

GetTokensForContract()

IEnumerator GetTokensForContract(
Action<IEnumerable<Token>> callback,
string contractAddress,
bool withMetadata,
long maxItems,
TokensForContractOrder orderBy);

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

GetOperationStatus()

IEnumerator GetOperationStatus(
Action<bool?> callback,
string operationHash);

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

GetLatestBlockLevel()

IEnumerator GetLatestBlockLevel(
Action<int> callback);

GetAccountCounter()

IEnumerator GetAccountCounter(
Action<int> callback,
string address);

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

GetOriginatedContractsForOwner()

IEnumerator GetOriginatedContractsForOwner(
Action<IEnumerable<TokenContract>> callback,
string creator,
string codeHash,
long maxItems,
OriginatedContractsForOwnerOrder orderBy);

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