Get a list of assets held by an account, inclusive of asset params.
GET /v2/accounts/{address}/assets
Lookup an account’s asset holdings.
Authorizations
Parameters
Path Parameters
An account public key
Query Parameters
Maximum number of results to return.
The next page of results. Use the next token provided by the previous results.
Responses
200
AccountAssetsInformationResponse contains a list of assets held by an account.
object
AccountAssetHolding describes the account’s asset holding and asset parameters (if either exist) for a specific asset ID.
object
Describes an asset held by an account.
Definition: data/basics/userBalance.go : AssetHolding
object
[a] number of units held.
Asset ID of the holding.
[f] whether or not the holding is frozen.
AssetParams specifies the parameters for an asset.
[apar] when part of an AssetConfig transaction.
Definition: data/transactions/asset.go : AssetParams
object
[c] Address of account used to clawback holdings of this asset. If empty, clawback is not permitted.
The address that created this asset. This is the address where the parameters for this asset can be found, and also the address where unwanted asset units can be sent in the worst case.
[dc] The number of digits to use after the decimal point when displaying this asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in tenths. If 2, the base unit of the asset is in hundredths, and so on. This value must be between 0 and 19 (inclusive).
[df] Whether holdings of this asset are frozen by default.
[f] Address of account used to freeze holdings of this asset. If empty, freezing is not permitted.
[m] Address of account used to manage the keys of this asset and to destroy it.
[am] A commitment to some unspecified asset metadata. The format of this metadata is up to the application.
[an] Name of this asset, as supplied by the creator. Included only when the asset name is composed of printable utf-8 characters.
Base64 encoded name of this asset, as supplied by the creator.
[r] Address of account holding reserve (non-minted) units of this asset.
[t] The total number of units of this asset.
[un] Name of a unit of this asset, as supplied by the creator. Included only when the name of a unit of this asset is composed of printable utf-8 characters.
Base64 encoded name of a unit of this asset, as supplied by the creator.
[au] URL where more information about the asset can be retrieved. Included only when the URL is composed of printable utf-8 characters.
Base64 encoded URL where more information about the asset can be retrieved.
Used for pagination, when making another request provide this token with the next parameter.
The round for which this information is relevant.
400
Malformed address
An error response with optional data field.
object
object
401
Invalid API Token
An error response with optional data field.
object
object
500
Internal Error
An error response with optional data field.
object
object
default
Unknown Error