Skip to main content

Questions tagged [redeemer]

The tag has no usage guidance.

0 votes
1 answer
84 views

Error Applying Redeemer Lucid

I get this error when trying to unlock funds from an UTXO in a contract address: Uncaught (in promise) "Redeemer (Spend, 0): Attempted to apply a non-function:\n\nCon(\n Unit,\n)\n\nExBudget {\...
user3755529's user avatar
1 vote
1 answer
44 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
82 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
155 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
53 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
50 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
107 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
396 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,152
1 vote
1 answer
47 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
  • 184
2 votes
1 answer
139 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
84 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
448 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
183 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
65 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

15 30 50 per page