Generated by DocFX

Class PaymentNFT

Payment NFT is used for buying NFTs

Inheritance
System.Object
CommonNFT
PaymentNFT
Implements
INFT
Inherited Members
CommonNFT.TypeText
CommonNFT.Type
CommonNFT.Name
CommonNFT.Author
CommonNFT.Description
CommonNFT.Text
CommonNFT.Link
CommonNFT.IconLink
CommonNFT.ImageLink
CommonNFT.ImageData
CommonNFT.Base64Data
CommonNFT.Preview
CommonNFT.PreviewData
CommonNFT.DataItems
CommonNFT.Tags
CommonNFT.TagsList
CommonNFT.Utxo
CommonNFT.UtxoIndex
CommonNFT.ShortHash
CommonNFT.NFTOriginTxId
CommonNFT.SourceTxId
CommonNFT.TokenId
CommonNFT.Price
CommonNFT.PriceActive
CommonNFT.DogePrice
CommonNFT.DogePriceActive
CommonNFT.DogeAddress
CommonNFT.SellJustCopy
CommonNFT.IsLoaded
CommonNFT.IsInThePayments
CommonNFT.DogeftInfo
CommonNFT.SoldInfo
CommonNFT.Time
CommonNFT.History
CommonNFT.TxDetails
CommonNFT.TxDataRefreshed
CommonNFT.IsSpendable()
CommonNFT.LoadHistory()
CommonNFT.FillCommon(INFT)
CommonNFT.ClearSoldInfo()
CommonNFT.ClearPrices()
CommonNFT.ParseTags()
CommonNFT.LoadLastData(IDictionary<String, String>)
CommonNFT.ParsePrice(IDictionary<String, String>)
CommonNFT.ParseSoldInfo(IDictionary<String, String>)
CommonNFT.ParseCommon(IDictionary<String, String>)
CommonNFT.ParseDogeftInfo(IDictionary<String, String>)
CommonNFT.GetCommonMetadata()
CommonNFT.DownloadPreviewData()
CommonNFT.DownloadImageData()
CommonNFT.DecryptImageData(BitcoinSecret, String, String, String)
CommonNFT.DecryptProperty(String, BitcoinSecret, String, String, String)
CommonNFT.StopRefreshingData()
CommonNFT.StartRefreshingTxData(Int32)
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 PaymentNFT : CommonNFT, INFT

Constructors

| Improve this Doc View Source

PaymentNFT(String)

Create empty NFT class

Declaration
public PaymentNFT(string utxo)
Parameters
Type Name Description
System.String utxo

Properties

| Improve this Doc View Source

AlreadySoldItem

If you receive payment and NFT is already sold this is set to true

Declaration
public bool AlreadySoldItem { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Matched

When payment match the NFT which was bought this is set

Declaration
public bool Matched { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

NFTUtxoIndex

original NFT index which was sold

Declaration
public int NFTUtxoIndex { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NFTUtxoTxId

original NFT hash which was sold

Declaration
public string NFTUtxoTxId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OriginalPaymentTxId

Original payment hash (can be from different blockchain or payment method)

Declaration
public string OriginalPaymentTxId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Returned

If this payment was returned because NFT is not available this will be set as true

Declaration
public bool Returned { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Sender

Sender of the payment

Declaration
public string Sender { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Fill(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
CommonNFT.Fill(INFT)
| Improve this Doc View Source

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
CommonNFT.GetMetadata(String, String, String)
| Improve this Doc View Source

ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)

Find and parse origin data

Declaration
public override 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
CommonNFT.ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)
| Improve this Doc View Source

ParseSpecific(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
Overrides
CommonNFT.ParseSpecific(IDictionary<String, String>)

Implements

INFT