Download OpenAPI specification:
The Tari indexer implementation
List epoch checkpoints from storage
| from_epoch | integer <int64> >= 0 Epoch to start listing from (inclusive). Defaults to 0 |
| limit | integer <int32> >= 0 Maximum number of checkpoints to return (default: 20, max: 100) |
{- "checkpoints": [
- { }
]
}{- "network_desc": {
- "epoch": 0,
- "num_preshards": "string",
- "shard_groups": [
- [
- { },
- 0
]
]
}, - "sync_progress": { },
- "validators": [
- {
- "epoch": 0,
- "height": 0,
- "observed_at_unix_s": 0,
- "peer_id": "string",
- "shard_group": { },
- "state": "Idle"
}
]
}Get non-fungibles by resource address
| address required | string |
| end_index required | integer <int64> >= 0 |
| start_index required | integer <int64> >= 0 |
{- "address": "string",
- "end_index": 0,
- "start_index": 0
}{- "non_fungibles": [
- {
- "address": "string",
- "substate": { },
- "version": 0
}
]
}Fetches a substate by ID
| substate_id required | string The substate ID to fetch |
| local_search_only required | boolean If true, only search local storage for the substate |
| version | integer <int32> >= 0 Minimum version of the substate to fetch |
{- "substate": { },
- "version": 0
}List all template cached by this indexer
| limit | integer <int32> >= 0 Limit the number of results returned |
{- "templates": [
- {
- "address": "string",
- "author_public_key": "string",
- "binary_sha": "string",
- "code_size": 0,
- "epoch": 0,
- "metadata_hash": "string",
- "name": "string"
}
]
}List templates discovered on the network via the template catalogue
| name_filter | string Substring filter on template name |
| limit | integer <int64> >= 0 Maximum entries to return (default: 20, max: 100) |
| after | string Cursor: return entries inserted after the row with this template address. Omit to start from the beginning |
{- "entries": [
- {
- "at_epoch": 0,
- "author_public_key": "string",
- "binary_hash": "string",
- "metadata_hash": "string",
- "template_address": "string",
- "template_name": "string"
}
]
}Get a transaction (including its instructions, fee instructions and signatures) by transaction ID.
NOTE: This only returns transactions that were submitted through this indexer; it reads from the indexer's local transaction store and is not synced from the network. A transaction submitted via a different indexer or wallet will return 404 here even after it has been finalized. This differs from transaction receipts (see the /transaction-receipts endpoints), which are synced from the network. For the execution result of any transaction regardless of where it was submitted, use /transactions/{transaction_id}/result.
{- "transaction": {
- "created_at": "2019-08-24T14:15:22Z",
- "transaction": { },
- "transaction_id": "string"
}
}SSE stream of template-emitted transaction events. Supports catch-up via the after_id query parameter or Last-Event-ID header.
| topic | string Filter by event topic |
| substate_id | string Filter by substate ID |
| template_address | string Filter by template address |
| resource_address | string Filter by resource address (derived from substate_id for std.resource.* events, or from the |
| after_id | integer <int64> Resume from this event ID (exclusive) |
Gets full UTXO data for a list of UTXO IDs
| resource_address required | string |
required | Array of items |
{- "resource_address": "string",
- "tag_and_nonce_pairs": [
- [
- 0,
- "string"
]
]
}{- "utxos": [
- [
- "string",
- { }
]
]
}Streams UTXO updates
| from_epoch | integer <int64> >= 0 |
| per_shard_limit required | integer <int32> >= 0 |
| resource_address required | string |
required | Array of items |
| unspent_only | boolean |
{- "from_epoch": 0,
- "per_shard_limit": 0,
- "resource_address": "string",
- "shard_state_versions": [
- 0,
- 0
], - "unspent_only": true
}{- "error": "string"
}