π¨ord_getInscriptions
You can use the ord_getInscriptions
method to retrieve all your user's Inscriptions, i.e. the list of inscribed sats that their connected wallet's ordinal address owns, and their key attributes.
Your app must have first connected to the wallet and obtained account read permissions.
The response will be paginated when the inscriptions dataset is large. You can set your preferred pagination parameters in the request:
limit
(βΉοΈ optional)
An integer defining the number of inscriptions returned per page. Defaults to 60, capped at 100.
offset
(βΉοΈ optional)
The number of results to skip over before returning new results. Defaults to 0.
The ord_getInscriptions
method will not trigger any operation or prompt your user to sign any transaction. It will return an inscriptions
objects, detailing the connected ordinal address's inscriptions holdings:
total
an integer representing the total count of inscriptions held by the connected ordinal address
[inscription]
an array of objects representing each inscription held by the connected ordinal address, with the below properties:
inscriptionId
- string: the id of the inscription.inscriptionNumber
- string: the number of the inscription.collectionName
- string: the name of the parent collection (βΉοΈ optional, defaults tonull
)contentType
- number: the content type of the content inscribed on the satgenesisTransaction
- string: the txid of the inscription's genesis transactiontimestamp
- number: the timestamp of the block the inscription was created onsatNumber
- string: the number of the inscribed satoutput
- string: the output containing the inscribed sat as txid:voutpostage
- string : the size of the inscriptionβs containing output in satscontentType
- number : the content type of inscription.
page_info
an object helping you identify the page queried and its location in a paginated response
page_number
- integer: the number of the page queriedtotal_pages
- integer: the total number of pages required for the response dataset, for thepage_size
specified in the request
Last updated