Cardano » Scripts

Redeemers of a specific script

Changed on

List of redeemers of a specific script

get/scripts/{script_hash}/redeemers

Request

  • Base URL
    https://cardano-mainnet.blockfrost.io/api/v0
  • URL
    https://cardano-mainnet.blockfrost.io/api/v0/scripts/{script_hash}/redeemers
  • Auth
    API key in header project_id

Path parameters

script_hashstring required

Hash of the script

Query parameters

countinteger

The number of results displayed on one page.

pageinteger

The page number for listing the results.

order'asc' | 'desc'

The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.

Response

Return the information about redeemers of a specific script

tx_hashstring required

Hash of the transaction

tx_indexinteger required

The index of the redeemer pointer in the transaction

purpose'spend' | 'mint' | 'cert' | 'reward' | 'vote' | 'propose' required

Validation purpose

redeemer_data_hashstring required

Datum hash of the redeemer

datum_hashstring required

Datum hash

unit_memstring required

The budget in Memory to run a script

unit_stepsstring required

The budget in CPU steps to run a script

feestring required

The fee consumed to run the script

Example response

[
  {
    "tx_hash": "1a0570af966fb355a7160e4f82d5a80b8681b7955f5d44bec0dce628516157f0",
    "purpose": "spend",
    "redeemer_data_hash": "923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec",
    "datum_hash": "923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec",
    "unit_mem": "1700",
    "unit_steps": "476468",
    "fee": "172033"
  }
]

Changes

    • warning

      added the new propose enum value to the / response property for the response status

    • warning

      added the new vote enum value to the / response property for the response status