Skip to main content

Overview

getAssetsByAuthority lists the assets where an address appears in authorities, usually as the update authority. Projects often mint every collection from one authority, so this is a quick way to list everything a project controls. This method has no snake_case alias. Call it as getAssetsByAuthority.

Parameters

string
required
The authority address (base-58).
number
Page number, starting at 1. See Pagination.
number
Results per page. Maximum and default 1,000.
string
Cursor from a previous response.
string
Return assets with IDs before this one.
string
Return assets with IDs after this one.
object
{ "sortBy": "id" | "created" | "updated" | "recent_action" | "none", "sortDirection": "asc" | "desc" }
object
Display options: showFungible, showUnverifiedCollections, showCollectionMetadata, showInscription. Also accepted as displayOptions.

Response

A list with last_indexed_slot, total, limit, page or cursor, and items (asset objects).

Code Examples

Request

Response

The asset object is shortened. See Asset object for a full example.

TypeScript

Common Errors