API

Ordinals Wallet Api Documentation

API Url: https://turbo.ordinalswallet.com

Inscriptions

Fetch an inscription

GET https://turbo.ordinalswallet.com/inscription/:inscription_id

Fetch the location of an inscription

GET https://turbo.ordinalswallet.com/inscription/:inscription_id/outpoint

Fetch the raw content of an inscription

GET https://cdn.ordinalswallet.com/inscription/content/:inscription_id

Fetch an image preview of an inscription

GET https://cdn.ordinalswallet.com/inscription/preview/:inscription_id

Not all inscriptions are supported yet. When an image cannot be generated, the raw inscription content is returned

Collections

Types

pub struct Inscription {
    id: String,
    meta: Option<InscriptionMeta>,
}
pub struct InscriptionMeta {
    pub name: Option<String>,
    pub attributes: Option<Vec<InscriptionMetaAttribute>>,
}
pub struct InscriptionMetaAttribute {
    pub trait_type: String,
    pub value: String,
}

Create a collection

POST https://turbo.ordinalswallet.com/collection/new

Request Body

Update a collection

POST https://turbo.ordinalswallet.com/collection/update

Update collection by creating a request with one or more optional parameter. There are three parameters that can be used to update collection inscriptions. The inscriptions parameter can be used to add and remove inscriptions. When given, it is considered the new state of the collection inscriptions. The new_inscriptions parameter can be used to add new inscriptions with metadata. The new_inscription_ids parameter can be used to add new inscriptions without metadata. These three parameters are meant to be used separately.

Request Body

Fetch a collection

GET https://turbo.ordinalswallet.com/collection/:slug

List collection inscriptions

GET https://turbo.ordinalswallet.com/collection/:slug/inscriptions

List inscriptions that are for sale

GET https://turbo.ordinalswallet.com/collection/:slug/escrows

List inscriptions that sold

GET https://turbo.ordinalswallet.com/collection/:slug/sold-escrows

List attributes for a collection

GET https://turbo.ordinalswallet.com/collection/:slug/attributes

Fetch collection stats

GET https://turbo.ordinalswallet.com/collection/:slug/stats

Fetch collection snapshot

GET https://turbo.ordinalswallet.com/collection/:slug/snapshot

A list of all addresses that hold an item in the collection

Wallet

Wallet Balance

GET https://turbo.ordinalswallet.com/wallet/:address

Get the balance of a wallet. Includes bitcoin balance, inscriptions and brc20

Verify a signed message

POST https://turbo.ordinalswallet.com/wallet/:address/verify-message

Bip-0322 Signed Message Verification https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki

Request Body

Last updated