Questions tagged [utxo]

For questions regarding unspent transaction outputs (UTxO) aka. extended unspent transaction outputs (eUTxO) of Cardano.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

Retrieve ADA from a UTXO address linked with my ADA account on Ledger

I sent ADA from an exchange to Ledger, to an address listed as part of a set of addresses used as the receive address for a previous transaction. I chose one of these multiple "To" addresses ...
Kaolu_zhong's user avatar
0 votes
1 answer
25 views

How web3 protocols know which UTXOs should be consumed

I'm trying to get the history interaction of a wallet on Levvy Fi via Cardano db sync. But I find it difficult to understand how Levvy Fi generates a wallet with their scripts and how they know which ...
manhdt's user avatar
  • 125
0 votes
0 answers
14 views

How to get pointer to an actual cardano address by pool script hash in format "script...."?

The address format is script15ew2tzjwn364l2pszu7j5h9w63v2crrnl97m074w9elrkxhah0e. In this example from https://github.com/DefiLlama/DefiLlama-Adapters/blob/main/projects/minswap/index.js, you can ...
ErikM's user avatar
  • 41
0 votes
0 answers
6 views

What DAPPS Can Be Built On EUTXO Chains That Account Based Chains Cannot Make?

I remember reading that the EUTXO model is a superset of the account-based model. My question is does this mean that there are some types of Dapps that can only be built on EUTXO chains, and if so ...
KryptoKing's user avatar
0 votes
1 answer
91 views

Error: encoding/hex: invalid byte: s When using Lucid calling payToContract

I am getting an issue when creating a Lucid transaction and calling payToContract I have created the datum and it is erroring on the line that converts this datum toHex With the following error: Error:...
David B's user avatar
  • 101
0 votes
2 answers
132 views

Cardano Multi-Sig Mint BabbageOutputTooSmallUTxO

I’m trying to build a multi-sig transaction to mint an NFT. The transaction will take some input from users wallet via coin selection and add an additional NFT as output. The problem begans, when the ...
Alexis's user avatar
  • 23
0 votes
1 answer
70 views

What are the differences between different kinds of datums (datum, datumhash, inlineDatum, inlineDatumHash)?

I sent some ADA to a smart contract address with the non inline datum of "1234" and when i queried the utxo with cardano-cli, I got this result. "...
Jelil Akjaly's user avatar
0 votes
1 answer
57 views

Is there a way to find the price of an asset from the JSON object of a transaction received from a Blockfrost webhook?

I am trying to find the price of an asset from a transaction JSON object that I receive from a Blockfrost webhook in which I track transactions from and to JPG store, the object has all the ...
Badro's user avatar
  • 3
0 votes
0 answers
18 views

Error deserializing multiple UTXOs

When deserializing multiple UTXOs from the same wallet, in some point of the rawUtxos the process crash with this error. When doing the same process to deserialize the same UTXO but not on a loop, it ...
Maximus's user avatar
0 votes
1 answer
83 views

How to get all unSpent UTXOs at script address OnChain

Hi i am building CrowdFund where i need to know the total amount raised at the script as an OnChain validation. i was looking at Contexts.findOwnInput but would this only return the tx-in's provided ...
Chakravarti Raghavan's user avatar
3 votes
1 answer
52 views

When multiple users try to spend the same output at the same time, who will get priority?

Let's assume we have some NFT minting drop with more than 1000s of participating buyers who try to spend the same output, all at the same time. How does the chain decide who gets to spend the output? ...
et97's user avatar
  • 172
0 votes
1 answer
35 views

cardano-db-sync different tx, same hash?

I'm listening for new records added on block table and have noticed that sometimes two blocks are added almost at the same time with basically the same info except for block hash (maybe a slot battle/...
leobelizquierdo's user avatar
1 vote
1 answer
57 views

Is the UTxO for change always the very last index of the outputs?

Given a transaction with multiple outputs, is the UTxO for the change always the very last index of the list of all outputs? To demonstrate what I mean: Given the following theoretical transaction ...
LACE pool's user avatar
  • 619
1 vote
2 answers
104 views

Sending ADA to multiple wallets in a single transaction

We are looking options that current exist for sending 20-40ADA to multiple wallets (20+) simultaneously in a single transaction. Initially the need might only be 10 receiving wallets but might scale ...
CarPool Crypto's user avatar
1 vote
1 answer
103 views

Sending consecutive transactions will result in an error

Sending consecutive transactions will result in an error. Using the simple-transaction example below, a transaction is created in Cardano-Serialization-Lib and sent to the blockchain using BrokFrost. ...
yousuke's user avatar
  • 11
2 votes
2 answers
358 views

Cardano java lib

Can someone help me understand the below error message better. It first started appearing about 2 months ago when I mint tokens, and I cant seem to get to the bottom of it. I understand the ...
g0atm1lk's user avatar
0 votes
1 answer
159 views

How to get TransactionUnspentOutput as a hex encoded bytes string programmatically

So basically I want to convert a normal UTxO hash like: 550665309dee7e2f64d13f999297f001763f65fe50bb05524afc0990c7dce0c3 to a TransactionUnspentOutput as a hex encoded bytes string like: ...
Jan Swoboda's user avatar
0 votes
1 answer
28 views

Transaction submission times

I am building an NFT marketplace on Cardano which supports 3 wallets: Typhon, Yoroi and Nami. I have to mint an NFT right before putiing it on sale, so I figured I need to wait for the newly minted ...
Tetiana Diachenko's user avatar
1 vote
0 answers
64 views

TxOutRefNotFound when using Plutus.Contract.Wallet (getUnspentOutput)

I am trying to get a UTxO of the current wallet, use it to mint a token via the OneShotCurrency type, but I keep getting the following Error: (TxOutRefNotFound (TxOutRef {txOutRefId = ...
Will's user avatar
  • 1,162
0 votes
1 answer
77 views

Is it possible to change the minimum ada value for an UTxO?

If I want to send a token or NFT in Cardano, I need to include some ada with it. This is known as minimum-ada-value. Is it possible to change this value for a specific NFT and make it so big that it ...
Falcon Stakepool's user avatar
2 votes
2 answers
94 views

Is the fact that EUTXO can use scripts to lock/unlock UTXOs really a difference from the UTXO model?

In the EUTXO explainer it says that [The EUTXO model] generalizes the concept of ‘address’ by using the lock-and-key analogy. Instead of restricting locks to public keys and keys to signatures, ...
The Unfun Cat's user avatar
2 votes
1 answer
35 views

How did SundaeSwap solve the scalability issue associated with consuming the same UTxO more than once in the same block?

I know that this was a very hot topic when SundaeSwap came out. How did the team solve this?
Falcon Stakepool's user avatar
1 vote
1 answer
29 views

What is a Semantics Model?

In the eUTxO research paper by IOHK, it mentioned that the eUTxO model is able to enable both expressive smart contracts and keep the simple semantic simplicity of the UTXO model. But what does ...
KryptoKing's user avatar
1 vote
1 answer
37 views

How can I see if an UTxO holds an NFT in the postgres DB?

Is it possible to find out if an UTxO on the tx_out postgres table holds an NFT? OR in generell which kind of asset this UTxO holds? Thank you!
Pierre Previsionz's user avatar
0 votes
1 answer
89 views

How can I build a transaction to register a stake pool using Cardano Serialization Lib?

I have built the following transaction to register a stake pool: { "txHash": "0f874a3cb0ba57ed68a79601781eb9e29666f7f2f0e72ab4ed1f3cc9fcea7dee", "ttl": 60310548, &...
Falcon Stakepool's user avatar
0 votes
1 answer
45 views

How to convert UTxOs from Graphql to Cardano Serialization lib format?

I want to use this function as coin selection for my transactions: txBuilder.add_inputs_from(unspentOutputs, 3); The problem I have is I'm using cardano-graphql to retrieve UTxOs: { "data"...
Falcon Stakepool's user avatar
2 votes
1 answer
173 views

Get transaction unspent output value

I have payment signing key and staking signing key of my wallet. How can I get transaction unspent outputs with cardano-cli/cardano-serialization-lib/pycardano. I expect to get string like this ...
Pavel R's user avatar
  • 21
2 votes
1 answer
142 views

What's the correct way of deserializing a UTxO?

I'm getting the following error when trying to deserialize a UTxO obtained using cardano-graphql: Deserialization failed in TransactionUnspentOutput because: No variant matched This is the code that ...
Falcon Stakepool's user avatar
0 votes
2 answers
195 views

How can I build a transaction to send different assets (not just ada) using Cardano Serialization Lib?

I have followed this example on how to create a transaction to send ada and I had no issues so far. What I would like to do next is to add different assets to this same transaction. Is there an ...
Falcon Stakepool's user avatar
0 votes
1 answer
25 views

Do I need to validate for minADAUTxO output in Smart Contract validator?

I have a spending validator that currently expects an output with an NFT to be recreated at its own address. Is it necessary to also include a check whether the output's value has a greater equal ADA ...
Will's user avatar
  • 1,162
0 votes
2 answers
151 views

utxo fail problem(utxo fee too small

we faced the utxo failure issue the error message is like message: '"transaction submit error ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (...
Eric Tsai's user avatar
1 vote
3 answers
249 views

Get Value of Datum from a UTXO

I currently have a utxo that i am getting like this. initalMatchPool <- Map.filter (findInitalAmount fundAddress) <$> utxosAt scrAddress How do i get the value of the datum attached to this ...
szhang9921's user avatar
0 votes
1 answer
59 views

A Script With Multiple Different Datum Types

I have 4 different Datum Data Types in my script because for 4 different use cases in my script. data FundCreationDatum = FundCreationDatum { vFundOwner :: PaymentPubKeyHash, vPrizeAmount :: ...
szhang9921's user avatar
3 votes
2 answers
123 views

How to determine the number of actual "transactions" in a transaction?

You may have seen some of the online discussions on Twitter about Cardano TPS (Transactions Per Second) count. It lead me down the rabbit hole of trying to see if I could calculate TPS more accurately....
Reddspark's user avatar
  • 273
1 vote
1 answer
45 views

What are the current options for spending a UTxO at a script address?

If the following script is protecting a UTxO { "type": "all", "scripts": [ { "type": "after", "slot":...
RJ Regenold's user avatar
0 votes
1 answer
35 views

Filter for utxos that was send from a specific public key address

In the pionner program they have this logic where they filter through utxos and get a specific set of utxos. {...} utxos <- Map.filter (isSuitable pkh) <$> utxosAt scrAddress {...} where ...
szhang9921's user avatar
0 votes
1 answer
51 views

How to see UTXOs at a script

I am creating a function that takes in UTXOs at a script as a parameter. I know there is a function Plutus.Contract.utxoAt but how do i see what that will return ? I am still developing out my script ...
szhang9921's user avatar
1 vote
1 answer
74 views

Get UTXO or tnx hash from nami Collateral

I am using the function cardano.getCollateral() in the nami wallet library which gives me the utxo of a collateral, lets say it is: "...
c00kie_monster's user avatar
2 votes
3 answers
93 views

How to allow non deterministic spent output

I would like a validator (or a minting policy) to succeed always but only to spend the output if some conditions are met; an example use case of such behaviour is to allow burning token (kind of a &...
Michele Nuzzi's user avatar
0 votes
1 answer
169 views

minted NFT is shown as solid color of picture in Nami wallet

I have some questions about NFT mint. I minted NFT using Nami Wallet API, but sometimes error occurred. I need to mint several NFTs at once. So I submit minting transactions in for loop. But ...
Sebastian Ross's user avatar
1 vote
2 answers
165 views

relationship between seed phrase, wallet address, public key, UTxO, verification key, and signing key

Everything I read about cryptography talks about a "public key" and a "private key". However, the Cardano CLI reality appears more complex. As I understand it, the 24 word seed ...
XiTouch's user avatar
  • 349
3 votes
2 answers
111 views

how can I increase the address gap limit in daedalus?

Problem: Payments to a wallet don't show in a daedalus wallet, because it was sent to an address that exceeds the gap. How can I increase the gap so I can see (and consume) that utxo?
Matthias Sieber's user avatar
  • 1,557
0 votes
2 answers
252 views

How to combine or spend the rest of utxos

I have several utxos in my cardano wallet address created via the cardano-cli that have 1-4 ADA each. Some utxos have an NFT associated with them. Is there a way to spend the rest of several utxos in ...
Myles's user avatar
  • 321
1 vote
1 answer
157 views

Script Witness Not Validating for Multisig

I'm getting the following error when trying to consume a UTxO sitting in a multisig script address: [ { "scriptWitnessNotValidating": [ "...
Falcon Stakepool's user avatar
9 votes
1 answer
68 views

What's the Lars' UTXO diagrams tool?

Maybe this is not a very interesting question but I'd like to know which is the tool that Lars uses in the lectures to draw UTXO's graphs. Thanks in advance!
kindofdev's user avatar
  • 1,304
1 vote
1 answer
67 views

Smart contract configuration

Is it possible to write smart contract validator that would check: if UTXO that contains service price information was included so only script can read what is actual price of the service. UTXO with ...
CryptoDinoAdamuso's user avatar
1 vote
0 answers
77 views

script for automation sending tokens [closed]

i just finished my first script and would love to share some ideas and also to listen your opinion for additional development. how the script works and what it does create Log file :) while (looping) ...
TTS17's user avatar
  • 346
1 vote
1 answer
133 views

How are datums retrieved from UTXOs by on-chain code?

How is Plutus on-chain code able to retrieve and decode datums from UTXOs of ScriptContext? These datums are hardly found in cardano-db-sync or explorers anywhere?
Harry's user avatar
  • 13
3 votes
1 answer
95 views

Is eUTxO a generalisation of UTxO

To me it sounds like UTxO is a very specific implementation of the more general eUTxO protocol. So could eUTxO be (in theory) be used to implement UTxO? Not that one would - but just to understand the ...
tcurdt's user avatar
  • 141
1 vote
1 answer
116 views

How to get information about UTxOs which created locking transaction on the on-chain?

I would like to create a smartcontract which makes sure that only the same person who made specific locking transaction can unlock that same specific transaction or to put it into simpler terms if Bob ...
KugisMugis's user avatar