Protokol
Search…
API Endpoints
List of NFT API Endpoints For NFT-Base and NFT-Exchange

NFT Base API Endpoints

Default prefix for NFT Base is /api/nft

List of Assets Endpoints

Endpoint
Description
Type
Returns all assets
GET
Returns asset by id
GET
Returns the wallet owning an asset
GET
Returns the assets that wallet owns
GET
Search assets
POST
/assets/claim
Claims an asset
POST

List of Burn Endpoints

Endpoint
Description
Type
Returns all burns
GET
Returns burn by id
GET

List of Collection Endpoints

Endpoint
Description
Type
Returns all collections
GET
Returns collection by id
GET
Returns the schema of a collection
GET
Returns the wallet owning a collection
GET
Search collections
POST
Returns the assets of a collection
GET

List of Configuration Endpoints

Endpoint
Description
Type
Returns all configurations
GET

List of Transfer Endpoints

Endpoint
Description
Type
Returns all transfers
GET
Returns transfer by id
GET

NFT Exchange API Endpoints

Default prefix for NFT Exchange is /api/nft/exchange

List of Auction Endpoints

Endpoint
Description
Type
Returns all active auctions
GET
Returns auction by id
GET
Returns the wallet owning an auction
GET
Search auctions
POST
Returns all canceled auctions
GET
Returns canceled auction by :id
GET

List of Bid Endpoints

Endpoint
Description
Type
Returns all bids
GET
Returns bid by id
GET
Returns the wallet owning a bid
GET
Search bids
POST
Returns all canceled bids
GET
Returns canceled bids by id
GET

List of Configuration Endpoints

Endpoint
Description
Type
Returns all configurations
GET

List of Trade Endpoints

Endpoint
Description
Type
Returns all trades
GET
Returns trade by id
GET
Search trades
POST

NFT Client

A Light Typescript Client Supporting NFT REST API

Installation

yarn

1
yarn add @protokol/client
Copied!

pnpm

1
pnpm add @protokol/client
Copied!

npm

1
npm install @protokol/client
Copied!

Initialization

1
import { ProtokolConnection } from "@protokol/client";
2
3
const connection = new ProtokolConnection("https://explorer.protokol.sh/api");
Copied!
Last modified 7mo ago