github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/asset.go (about)

     1  package models
     2  
     3  // Asset specifies both the unique identifier and the parameters for an asset
     4  type Asset struct {
     5  	// CreatedAtRound round during which this asset was created.
     6  	CreatedAtRound uint64 `json:"created-at-round,omitempty"`
     7  
     8  	// Deleted whether or not this asset is currently deleted.
     9  	Deleted bool `json:"deleted,omitempty"`
    10  
    11  	// DestroyedAtRound round during which this asset was destroyed.
    12  	DestroyedAtRound uint64 `json:"destroyed-at-round,omitempty"`
    13  
    14  	// Index unique asset identifier
    15  	Index uint64 `json:"index"`
    16  
    17  	// Params assetParams specifies the parameters for an asset.
    18  	// (apar) when part of an AssetConfig transaction.
    19  	// Definition:
    20  	// data/transactions/asset.go : AssetParams
    21  	Params AssetParams `json:"params"`
    22  }