type TomoChain = {
network: string
backendUrls?: {
rpcRrl?: string
// only BTC
mempoolUrl?: string
inscriptionUrl?: string
}
}
GET ${inscriptionUrl}/openapi/bitcoin/inscriptions
request params
{
address: string
networkType: "MAINNET" | "SIGNET" | "TESTNET"
cursor?: number
size?: number
}
response
{
list: {
output: string
inscriptionId: string
address: string
offset: number
outputValue: number
location: string
contentType: string
contentLength: number
inscriptionNumber: number
timestamp: number
genesisTransaction: string
}[]
total: number
}