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

     1  package models
     2  
     3  // AccountAssetResponse accountAssetResponse describes the account's asset holding
     4  // and asset parameters (if either exist) for a specific asset ID. Asset parameters
     5  // will only be returned if the provided address is the asset's creator.
     6  type AccountAssetResponse struct {
     7  	// AssetHolding (asset) Details about the asset held by this account.
     8  	// The raw account uses `AssetHolding` for this type.
     9  	AssetHolding AssetHolding `json:"asset-holding,omitempty"`
    10  
    11  	// CreatedAsset (apar) parameters of the asset created by this account.
    12  	// The raw account uses `AssetParams` for this type.
    13  	CreatedAsset AssetParams `json:"created-asset,omitempty"`
    14  
    15  	// Round the round for which this information is relevant.
    16  	Round uint64 `json:"round"`
    17  }