v1

latestOpenAPI 3.0.0MPL-2.02026-07-17153889.2 KB
Patterns

Get Pattern (*)

Retrieve all patterns that include<sup>*</sup> the provided pattern. Remember that an address is itself a pattern! This endpoint is thereby useful to check is an address is matched by a given pattern configuration (the returned list would be non-empty).

<sup><strong>(*) Definition</strong></sup> <br/> If all results matched by y are also matched by x, then x is said to include y.

get/patterns/{pattern}

Path parameters

'*' required
OR
OR
string required
  ┏━━━━━━━━━━━┓ ╭───╮ ┏━━━━━━━━━━━━┓
╾─┫ POLICY_ID ┣─┤ . ├─┫ ASSET_NAME ┣─╼
  ┗━━━━━━━━━━━┛ ╰───╯ ┗━━━━━━━━━━━━┛

A policy id (base16-encoded) and an optional asset name (base16-encoded), dot-separated.

Examples:

  • 1220099e5e430475c219518179efc7e6c8289db028904834025d5b086.*
  • 1220099e5e430475c219518179efc7e6c8289db028904834025d5b086.08661220099e
OR
string required
  ┏━━━━━━━━━━━━━━┓ ╭───╮ ┏━━━━━━━━━━━━━━━━┓
╾─┫ OUTPUT_INDEX ┣─┤ @ ├─┫ TRANSACTION_ID ┣─╼
  ┗━━━━━━━━━━━━━━┛ ╰───╯ ┗━━━━━━━━━━━━━━━━┛

An (optional) output index and transaction id (base16-encoded), separated by a @.

Examples:

  • 42@35d8340cd6a5d31bf9d09706b92adedf9b1b632e682fdab9fc8865ee3de14e09
  • *@35d8340cd6a5d31bf9d09706b92adedf9b1b632e682fdab9fc8865ee3de14e09

A matching pattern on addresses, assets or transactions.

See Patterns for more details.

Response

OK