Protokol
Search…
⌃K

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

yarn add @protokol/client

pnpm

pnpm add @protokol/client

npm

npm install @protokol/client

Initialization

import { ProtokolConnection } from "@protokol/client";
const connection = new ProtokolConnection("https://explorer.protokol.sh/api");
Last modified 1yr ago