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
Name | Type |
---|---|
data | Buffer |
Returns
Buffer
[]
Defined in
inscription.ts:21
getInscriptionFromId
▸ getInscriptionFromId(electrsClient
, inscriptionId
): Promise
\<Inscription
>
Parameters
Name | Type |
---|---|
electrsClient | ElectrsClient |
inscriptionId | string |
Returns
Promise
\<Inscription
>
Defined in
inscription.ts:196
getTxInscriptions
▸ getTxInscriptions(electrsClient
, txid
): Promise
\<Inscription
[]>
Parameters
Name | Type |
---|---|
electrsClient | ElectrsClient |
txid | string |
Returns
Promise
\<Inscription
[]>
Defined in
inscription.ts:190
parseInscriptions
▸ parseInscriptions(tx
): Inscription
[]
Parameters
Name | Type |
---|---|
tx | Transaction |
Returns
Defined in
inscription.ts:137