Skip to main content

Returns alias outputs filtered based on parameters.

GET 

/api/indexer/v1/outputs/alias

Returns alias outputs filtered based on parameters.

Request​

Query Parameters

    stateController string

    Filter outputs based on bech32-encoded state controller address.

    Example: iota1qrhacyfwlcnzkvzteumekfkrrwks98mpdm37cj4xx3drvmjvnep6xqgyzyx
    governor string

    Filter outputs based on bech32-encoded governor (governance controller) address.

    Example: iota1qrhacyfwlcnzkvzteumekfkrrwks98mpdm37cj4xx3drvmjvnep6xqgyzyx
    unlockableByAddress string

    The Bech32-encoded address that should be searched for in all possible Unlock Conditions of outputs.

    Example: iota1qrhacyfwlcnzkvzteumekfkrrwks98mpdm37cj4xx3drvmjvnep6xqgyzyx
    issuer string

    Filters outputs based on bech32-encoded issuer address.

    Example: iota1qrhacyfwlcnzkvzteumekfkrrwks98mpdm37cj4xx3drvmjvnep6xqgyzyx
    sender string

    Filters outputs based on bech32-encoded sender address.

    Example: iota1qrhacyfwlcnzkvzteumekfkrrwks98mpdm37cj4xx3drvmjvnep6xqgyzyx
    hasNativeTokens boolean

    Filters outputs based on the presence of native tokens.

    Example: true
    minNativeTokenCount integer

    Filters outputs that have at least a certain number of distinct native tokens.

    Example: 2
    maxNativeTokenCount integer

    Filters outputs that have at most a certain number of distinct native tokens.

    Example: 5
    createdBefore integer

    Return outputs that were created before a certain Unix timestamp.

    Example: 1643383242
    createdAfter integer

    Return outputs that were created after a certain Unix timestamp.

    Example: 1643383242
    pageSize integer

    The maximum amount of items returned in one call. If there are more items, a cursor to the next page is returned too. The parameter is ignored when pageSize is defined via the cursor parameter.

    Example: 10
    cursor string

    Starts the search from the cursor (confirmationMS+outputId.pageSize).

    Example: 0c78e998f5177834ecb3bae1596d5056af76e487386eecb19727465b4be86a790200.10

Responses​

Successful operation.

Schema
    ledgerIndex integerrequired

    The current ledger index for which the request was made.

    cursor stringnullable

    The cursor to use for getting the next page of results.

    items string[]required

    The output IDs (transaction hash + output index) of the outputs satisfying the query. Hex-encoded with 0x prefix.

Loading...