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 getTransactions

PreviousInds getTransactionByHashNextInds getInscriptions

Last updated 1 year ago

Was this helpful?

Example Request

{
  "method": "inds_getTransactions",
  "id": 1,
  "jsonrpc": "2.0",
  "params": [
    10, // page limit
    0, // page offset
    "", // address
    "", // chain
    "",  // protocol 
    "", // tick 
    1   // sortmode 1:ASC 2:DESC
  ]
}

Example Response

{
    "jsonrpc": "2.0",
    "result": {
        "data": [
            {
                "id": 1,
                "chain": "avalanche",
                "protocol": "",
                "block_height": 31918263,
                "position_in_block": 8,
                "block_time": "2023-06-28T16:17:05Z",
                "tx_hash": "7ffc56b2bf20f4f3474c1fd503fc3f1fb9066c8b0665d6da11185cac892108a5",
                "from": "0xE0eCCFe34c367Cbe0b6B261011b6781229942552",
                "to": "0xE0eCCFe34c367Cbe0b6B261011b6781229942552",
                "op": "",
                "tick": "",
                "amt": "0",
                "gas": 22248,
                "gas_price": 26500000000,
                "status": 0,
                "created_at": "2024-01-15T09:37:29Z",
                "updated_at": "2024-01-15T09:37:29Z"
            },
            ...
         
        ],
        "total": 0,
        "limit": 10,
        "offset": 0,
        "code": 0,
        "msg": 0
    },
    "id": 1
}

Curl Example

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