Protokol
Search
K

Assets

List of NFT Base Assets API Endpoints.

All Assets

get
https://explorer.protokol.sh/api/nft/assets
/assets

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/assets
const response = connection.NFTBaseApi("assets").all();
>>> Promise<ApiResponseWithPagination<AssetsResource[]>>

Asset by id

get
https://explorer.protokol.sh/api/nft/assets/:id
/assets/:id

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/assets/f811518958861d4c1e72943f646b1bd848f606e6cc9bd6300480e6a0b501cf47
const response = connection.NFTBaseApi("assets").get("VALID_ID");
>>> Promise<ApiResponse<AssetsResource>>

Wallet Owning Asset

get
https://explorer.protokol.sh/api/nft/assets/:id/wallets
/assets/:id/wallets

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/assets/baab82791f89a7f0af9e806dd2c634c9064903e514d1053179ff03f6d3d40866/wallets
const response = connection.NFTBaseApi("assets").wallet("VALID_ID");
>>> Promise<ApiResponse<AssetsWallet>>

Wallet Assets

get
https://explorer.protokol.sh/api/nft/assets/wallet/:id
/assets/wallet/:id

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/assets/wallet/03287bfebba4c7881a0509717e71b34b63f31e40021c321f89ae04f84be6d6ac37
const response = connection.NFTBaseApi("assets").walletAssets("PUBLIC_KEY");
>>> Promise<ApiResponseWithPagination<AssetsResource[]>>

Search By Asset

Examples

Curl
Typescript
curl --request POST \
--url https://explorer.protokol.sh/api/nft/assets/search \
--header 'content-type: application/json' \
--data '{
"name": "AREX ALPHA"
}'
const response = connection.NFTBaseApi("assets").searchByAsset({
"VALID_JSON_OBJECT"
});
>>> Promise<ApiResponseWithPagination<AssetsResource[]>>
Last modified 1yr ago