UXUY Indexer
  • INTRODUCTION
    • 🎃Overview
    • 🤓Protocol Highlights
    • 📽️Feature Highlights
    • 🛣️Roadmap
  • 🌲INDEXS PROTOCOL
    • Recipes
    • Inscriptions RFC
    • Supported
    • Partner
    • Work Mechanism
      • Arch
      • INDS
    • Quick Start
    • Indexer
      • Get Started
      • Configuration
      • Running Indexer & API Server
      • API
      • Explorer
    • API Reference
      • About
      • API V1
        • Inscription.All
        • Inscription.Tick
        • Address.Transactions
        • Address.Balances
        • Address.Balance
        • Tick.Holders
        • Block.LastNumber
        • Tool.InscriptionTxOperate
        • Transaction.Info
      • API V1 Specification
      • API V2
        • Inds getTicks
        • Inds getTransactionByAddress
        • Inds getBalancesByAddress
        • Inds getHoldersByTick
        • Inds getLastBlockNumberIndexed
        • Inds getTickByCallData
        • Inds getTransactionByHash
        • Inds getTransactions
        • Inds getInscriptions
        • Inds getInscriptionTxOperate
        • Index getInscriptionByTick
        • Inds getAddressBalance
        • Inds getTickBriefs
        • Inds getAllChains
        • Inds search
      • API V2 Specification
    • Changelog
      • Version Alpha
    • Team
  • 🪄INDEXS FEATURES
    • Index
    • List
  • 🔐RISK & SECURITY
    • Credit Risk
  • 🌌ECOSYSTEM
    • Overview
  • 📚INDEXS GUIDES
    • Guides Overview
  • 🧙‍♂️FAQS
    • General
    • Resources
  • 💼WE'RE HIRING!
    • Open Positions
Powered by GitBook
On this page

Was this helpful?

  1. INDEXS PROTOCOL
  2. API Reference
  3. API V2

Inds getTicks

PreviousAPI V2NextInds getTransactionByAddress

Last updated 1 year ago

Was this helpful?

Example Request

{
  "method": "inds_getTicks",   // jsonrpc method name
  "id": 1,  // request id 
  "jsonrpc": "2.0", // jsonrpc version
  "params": [
    10,  // page limit
    0,   // page offset 
    "",  // chain 
    "",  // protocol
    "",  // tick
    "",  // deploy_by
    3,   // sort :0.default  1.deploy time  2.mint process  3.holders amt  4.transaction amt
    1    // sort_mode: 1 ASC  2 DESC 
  ]
}

Example Response

{
    "jsonrpc": "2.0", // jsonrpc version
    "result": {
        "inscriptions": [
            {
                "chain": "polygon", // chain name
                "protocol": "brc-20", // protocol
                "tick": "ggang", // tick name
                "deploy_by": "0x53B4daF4a49bB1a91D8Adfca584529f69e5211F5", // deployer address
                "deploy_hash": "0x0a2672352f59b27b29a2cbbd043930441daed984af2a73cd94e2ee2d77e9041c", // deploy hash
                "total_supply": "5000", // total supply
                "minted_percent": "0.5000", // minted percent
                "limit_per_mint": "500", // limit for per mint
                "holders": 2, // holders amount
                "transfer_type": 0, // transfer type : 1.by utxo hash 2.by balance
                "status": 1, // status 
                "minted": "2500", // minted count
                "tx_cnt": 6, // transactions count
                "created_at": 1704532932 // create time
            }
            ...
        ],
        "total": 347, // total records number
        "limit": 1, // current request page limit
        "offset": 0 // current request page offset
    },
    "id": 1 // request id
}

Curl Example

curl --location 'https://api.indexs.io/v2/rpc/inds_getTicks' \
--header 'Content-Type: application/json' \
--data '{
  "method": "inds_getTicks",
  "id": 1,
  "jsonrpc": "2.0",
  "params": [
    10,
    0,
    "",
    "",
    "",
    "",
    3,
    1
  ]
}'
🌲