Questions tagged [redeemer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
31 views

blockfrost.io API, reference inputs and redeemer tx_index

AIUI, when using the blockfrost.io API, the tx_index field in a redeemer contains the index of the enclosing transaction's input that it consumes (is that true ?). However, with reference inputs, it ...
dee's user avatar
  • 113
0 votes
1 answer
47 views

Decoding transaction redeemers to JSON

I need to decode a redeemer hash (such as c4f0f65e1a03560608800ab884a2ed37377361e64462d14645610ac88b4aebd3) to the readable JSON format, just like cexplorer does, preferably using Javascript/...
Duco's user avatar
  • 33
1 vote
2 answers
90 views

Mutable NFT state by minting and burning in same transaction

The problem Please consider the following case: a token (NFT) needs to holds some state, ie {a: 234, b: "someState"}, which needs to be mutable and it needs to abide to specific rules. The ...
Duco's user avatar
  • 33
1 vote
1 answer
33 views

Can one see Redeemer value on Blockchain?

Redeem value is never revealed anywhere right? i mean on the BlockChain explorer i cant see someone's redeem passed? It it sent to Validator to validate and that's it.
Chakravarti Raghavan's user avatar
0 votes
1 answer
41 views

Understanding Script Failure Error Relating to Order TxIds - (script hash not known)

trying to claim back the first player bet after deadline in the ZeroOneGame from ppbl gimbalabs course on pre-production_testnet I get an error when trying to build the claim transaction. I have this ...
user3755529's user avatar
0 votes
1 answer
83 views

Script Execution Failure PT8

I am trying to transact with UTxO from a script address on the pre-production testnet. I locked the fund ok with Datum, now I get an error when trying to consume that UTxO, it seem that the script is ...
user3755529's user avatar
1 vote
1 answer
250 views

Missing/ No Redeemer Error when spending 2 script outputs

I am getting the following error, when I try to submit a transaction that spends 2 script outputs: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [...
Will's user avatar
  • 1,162
0 votes
1 answer
39 views

Is it possible to consume a script UTxO in the same block?

Let's say I lock some ADA at a script address. Someone who knows the redeemer value can unlock this ADA. Is it possible to include a redeeming tx in the same block as the tx which locks the ADA at the ...
et97's user avatar
  • 172
2 votes
1 answer
125 views

Meaning of Index of Redeemer in Serialization Lib 10.4

What is the meaning of the index in the redeemer ? redeemer = [ tag: redeemer_tag, index: uint, data: plutus_data, ex_units: ex_units for context see: https://github.com/input-output-hk/cardano-...
Alicia Basilio's user avatar
1 vote
2 answers
67 views

What is the mkValidator Script

In Plutus scripts there is a mkValidator where it takes in the datum , redeemer , and script context. In the plutus-pionner-program , the plutus scripts they show us uses these three parameters to ...
szhang9921's user avatar
4 votes
2 answers
403 views

Plutus datum and redeemer on cardano-cli

I'm trying to deploy a smart contract on cardano-cli after its implementation on plutus playground. Imagine that I have: data TradeDatum = StartBid | Bid TradeDetails | Offer TradeDetails ...
pprs's user avatar
  • 101
9 votes
2 answers
179 views

What is where executed and when?

To wrap my around what happens when I where, I tried to visualize it. In order to be able to show the interaction between two different systems generating transactions, I have a Generator A and ...
Kurt Sys's user avatar
  • 172
2 votes
1 answer
74 views

Auction example: How does Bob know the redeemer of the UTXO sitting at the script address?

When Bob places a bid... He places a transaction/bid that takes in his UTXO (for which he has the private key as he is the owner) and the UTXO sitting at the script address., It outputs a new UTXO ...
user44722's user avatar
1 vote
1 answer
60 views

Can all redeemers in a transaction be retrieved at once?

In the case of multiple datums and redeemers provided in a transaction, I see that TxInfo contains all datum in txInfoData :: [(DatumHash, Datum)] but not all redeemers are included. data TxInfo ...
17159's user avatar
  • 21
0 votes
2 answers
61 views

Does the redeemer have to be from a wallet address/contract?

Could a contract be programmed such that the redeemer seemingly comes from nowhere from what the node / someone monitoring the blockchain could tell? I am thinking if you gave the contract some ada ...
micahkendall's user avatar
0 votes
2 answers
46 views

Is Redeemer similar to <ScriptSig> in bitcoin context?

In the (e)UTxO model, discussed in the 1st lecture of PPP#3, I am trying to understand the differences between the UTxO model of Bitcoin and the (e)UTxO model of Cardano. From what I understand, the &...
wakathi's user avatar
  • 100
1 vote
1 answer
67 views

How does the final transaction in the auction example know who did the bid?

In the second transaction of the auction example, these are the output EUTxO's. In the final transaction, only wallet 1 and the script are inputs. How does the script know that wallet 3 has done the ...
Kurt Sys's user avatar
  • 172
1 vote
1 answer
218 views

Finding the redeemer of another UTxO in a transaction

I want to have a minting policy that checks some conditions of another input-utxo of the transaction. Fetching all transaction inputs and iterating over them is possible using txInfoInputs (see plutus-...
Jey's user avatar
  • 1,549
17 votes
5 answers
2k views

What is a Redeemer?

So I am currently on lecture 1 on the Plutus Pioneer Program. In the lecture they said the redeemer is the input information that the script uses to decide if a specific UTxO can be spent. I watched a ...
szhang9921's user avatar