Class AppNFT
App NFT is the carrier for the Applications in DataItems. Usually it is some HTML/JS or Blazor App Apps are hosted from the IPFS
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.NFT
Assembly: VEDriversLite.dll
Syntax
public class AppNFT : CommonNFT, INFT
Constructors
| Improve this Doc View SourceAppNFT(String)
Create empty NFT class
Declaration
public AppNFT(string utxo)
Parameters
Type | Name | Description |
---|---|---|
System.String | utxo |
Methods
| Improve this Doc View SourceFill(INFT)
Fill basic parameters
Declaration
public override async Task Fill(INFT NFT)
Parameters
Type | Name | Description |
---|---|---|
INFT | NFT |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
| Improve this Doc View SourceGetLastData()
Get last data of this NFT
Declaration
public async Task GetLastData()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
GetMetadata(String, String, String)
Get the NFT data for the NFT
Declaration
public override async Task<IDictionary<string, string>> GetMetadata(string address = "", string key = "", string receiver = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | address | Address of the sender |
System.String | key | Private key of the sender for encryption |
System.String | receiver | receiver of the NFT |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<System.String, System.String>> |
Overrides
| Improve this Doc View SourceParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)
Find and parse origin data
Declaration
public override async Task ParseOriginData(IDictionary<string, string> lastmetadata, GetTransactionInfoResponse txinfo = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | lastmetadata | |
GetTransactionInfoResponse | txinfo |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
| Improve this Doc View SourceParseSpecific(IDictionary<String, String>)
Parse specific parameters
Declaration
public override void ParseSpecific(IDictionary<string, string> metadata)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | metadata |