Show / Hide Table of Contents

Class NFTInfoRequest

The nft_info method asks who owns a token and what it was minted with.

Inheritance
object
BaseRequest
BaseLedgerRequest
NFTInfoRequest
Inherited Members
BaseLedgerRequest.LedgerHash
BaseLedgerRequest.LedgerIndex
BaseRequest.Id
BaseRequest.Command
BaseRequest.ApiVersion
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class NFTInfoRequest : BaseLedgerRequest
Remarks

A Clio method, not a rippled one. A plain rippled node answers unknownCmd, which arrives as an ordinary node error rather than something special - a caller who needs to work against both can catch it and fall back.

There is no substitute for it on a rippled node. Ownership cannot be read out of nft_sell_offers: a sale leaves the seller's offers in the ledger, so they keep being returned by an account that no longer owns the token, and the new owner usually has no offers at all - which is exactly the state a token is in right after being bought.

Constructors

| Edit this page View Source

NFTInfoRequest(string)

Declaration
public NFTInfoRequest(string nft_id)
Parameters
Type Name Description
string nft_id

Properties

| Edit this page View Source

NFTokenID

The unique identifier of the NFToken to describe.

Declaration
[JsonPropertyName("nft_id")]
public string NFTokenID { get; set; }
Property Value
Type Description
string
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX