Add Pattern (*)
Add a new pattern to watch and force the server to re-sync from a given point. Only blocks discovered from that point will be matched against the new pattern.
This endpoint may not be instantaneous as the forced rollback may only occur after the next block arrives in the indexer. On the main network, this takes usually no more than 20 seconds. On test networks however where the block density tends to be much lower, this may take longer.
Note also that, very long rollback will take a substantial amount of time to be processed by the server; if the server is shut down while a rollback is ongoing, the rollback will be aborted and the server will remain where it was, although with the extra pattern added.
Request
- Base URLhttp://localhost:1442
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
A matching pattern on addresses, assets or transactions.
See Patterns for more details.
Request body
Example request
{
"rollback_to": {
"slot_no": 51540727,
"header_hash": "9d09...31bf"
}
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.