Skip to main content

Module: inscription

Namespaces

Classes

Variables

MAX_CHUNK_SIZE

Const MAX_CHUNK_SIZE: 520

Defined in

inscription.ts:19


PROTOCOL_ID

Const PROTOCOL_ID: Buffer

Defined in

inscription.ts:13

Functions

chunkContent

chunkContent(data): Buffer[]

Parameters

NameType
dataBuffer

Returns

Buffer[]

Defined in

inscription.ts:21


getInscriptionFromId

getInscriptionFromId(electrsClient, inscriptionId): Promise\<Inscription>

Parameters

NameType
electrsClientElectrsClient
inscriptionIdstring

Returns

Promise\<Inscription>

Defined in

inscription.ts:196


getTxInscriptions

getTxInscriptions(electrsClient, txid): Promise\<Inscription[]>

Parameters

NameType
electrsClientElectrsClient
txidstring

Returns

Promise\<Inscription[]>

Defined in

inscription.ts:190


parseInscriptions

parseInscriptions(tx): Inscription[]

Parameters

NameType
txTransaction

Returns

Inscription[]

Defined in

inscription.ts:137