Questions tagged [transaction]

Transferring assets from one address to another.

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

How to reduce tx size using typed Plutus script with Vasil fork PlutusV2?

With the recent Vasil fork script references allow to reduce transaction size. Even though Vasil has been already launched on the testnet I could not find information on how to reduce the size of ...
user avatar
2 votes
1 answer
17 views

How To Get All Transactions of Associated With an Address In A Given Interval?

okay so given some reciving address such as addr1qxq7k07cnt8vstdmygu7lpw0tyyssu4trs27qq6f7xjpmvrdrr3j8j5k5yacga4ckv6lnx4p0la57q7nf24eszqk0r2q9axgqv how can I use a service like BlockFrost (or any ...
user avatar
0 votes
1 answer
13 views

Get Transaction History Given Policy ID using Blockfrost API

What's the best say to get the transaction history of an NFT collection given the policy id? I looked into Asset Transactions but this requires both policy ID and the asset ID. Is there something else ...
user avatar
0 votes
2 answers
41 views

How to get the history of an NFT or NFT Series from blockfrost?

Hi is there a quick API call to get the transaction history of a specific NFT or collection of NFTs in BlockFrost?
user avatar
1 vote
1 answer
23 views

How does valuePaidTo work?

How does valuePaidTo work ? Does it give the value paid by the script to the pubkeyhash or is it the total value of the pubkeyhash for the pending transactions ? Consider the following TxOut txOutputs ...
user avatar
  • 13
2 votes
1 answer
31 views

Using carano-cli How Do I send All of the ADA from a wallet?

I am trying to build a transaction with a wallet that has 6 ADA. The transaction fee is 165721 lovelaces. So 6000000 - 165721 = 5827019 lovelaces. But when i try to send 5827019 lovelaces I get an ...
user avatar
  • 21
0 votes
1 answer
32 views

How To Get Transaction Royalityies on Fungable Tokens

I want to make a fungible token (FT) that has a royalty attached (N%). The problem is UTxOs are purely passive so how can I get my N% of the transaction value on P2P transactions using code is law. To ...
user avatar
0 votes
1 answer
15 views

Providing a list of mappings from datum hashes to values while creating a transaction

I noticed that TxInfo datatype has a txInfoData field which carries a list of mappings from datum hashes to datum values. This seems very useful for validating transactions with multiple input UTxO's. ...
user avatar
  • 1
1 vote
0 answers
9 views

PPViewHashesDon'tMatch Exception on submit transaction for Cardano serialization-lib version 10.0.x

On emurgo/cardano serialization versions 10.0.X receiving error on submit transaction that: https://drive.google.com/file/d/1SNpM1LtEDPnZPMQXdz1X_Ujiy_FW9BJW/view?usp=sharing Also, in emurgo/cardano-...
user avatar
0 votes
1 answer
36 views

Error creating a transaction with Cardano Serialization Library

I am trying to create a transaction using the Cardano Serialization Library but I cannot figure out what is going wrong. The code is const BlockFrost = require('@blockfrost/blockfrost-js'); const { ...
user avatar
  • 307
0 votes
0 answers
9 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"...
user avatar
4 votes
3 answers
574 views

What does it mean when a block with 0 transactions is appended to the blockchain?

E.g. this block has 0 transactions Is there any technical/ strategic reason for appending such a block to the blockchain? To make my question more explicit: Why is the block created despite there is ...
user avatar
  • 143
0 votes
1 answer
37 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 ...
user avatar
1 vote
1 answer
20 views

How to test the serialisation of a transaction?

When using the Cardano serialisation library by emurgo, how do you test the output works as intended? Would this change when using parameterised contracts?
user avatar
1 vote
0 answers
28 views

transaction build Error: Non-Ada assets are unbalanced (sending native asset to smart contract via cardano-cli 1.34.1)

I have a wallet with the following two UTXOs: a2e38168473ae7f42e86ac274733004b36a1e119b665a5dae9a799e3a6a9c47a#1 Contains pure ADA balance ...
user avatar
  • 111
0 votes
0 answers
12 views

Can I forcefully run phase 2 validation in PAB locally?

Transaction validation happens in two phases: https://docs.cardano.org/plutus/transaction-costs-determinism https://iohk.io/en/blog/posts/2021/09/07/no-surprises-transaction-validation-part-2/ https://...
user avatar
1 vote
2 answers
51 views

Building a transaction on cardano-cli/api without running node?

Is there a way to build and sign transactions with the cardano-cli/api without running a node? I am trying to construct a transaction using the cli or api and submit it using blockfrost. It throws an ...
user avatar
0 votes
1 answer
30 views

Cardano CLI - Cardano Transaction Build for NFT from Guide Docs

As per title, want to ask about cardano-cli transaction build for NFT, that I read on this guide or maybe this one On near the last step, where it says about Minimum required UTxO - I wonder, if we ...
user avatar
  • 45
3 votes
1 answer
33 views

Check status of past transaction using cli

How can you check the status of a past transaction given the TxHash (i.e. pending, failed, or successful) and also the assurance level / number of confirmations and block number? (like on Cardanoscan ...
user avatar
  • 135
2 votes
1 answer
36 views

How can I make QR codes that work with wallets like nami?

Im making payment gateways for crypto on non-web3 infrastucher. One of the ways I'm doing this is by making qr codes that after being scanned with a wallet fill in the transaction i.e. the amount of ...
user avatar
1 vote
2 answers
56 views

How can I allow users to update a public array of data based on whether they own a token or not?

I want to construct public lists that can be altered by people who own a specific token. Is there a way I can group data together into an array like structure and allow users to append to it? I ...
user avatar
0 votes
2 answers
52 views

Can you include a minting policy in a transaction without minting or burning any tokens?

I want to use the minting policy to abstract the script logic away from the validator and only validate what's necessary for a specific transaction. Right now, I'm able to do this by minting a token I ...
user avatar
  • 753
1 vote
1 answer
104 views

Create transaction serialization-lib > version 10

I'm using cardano-serialization-lib ^9.1.2 to create transaction. I'm using method that are now deprecated in version 10, so is there an example of transaction with serialization-lib latest version ...
user avatar
0 votes
1 answer
37 views

find text from transaction message with blockfrost or koios

small (maybe) easy question. i want to find with blockfrost a "message" on a transaction. can someone help me a bit for this? i dont find currently anything. thank you in advanced. TTS17
user avatar
  • 303
1 vote
1 answer
38 views

Metadata transactions / eUTOX TTL / locking up ADA

I'm following this guide on metadata transactions with the cardano wallet server. My goal is to prove the existence of a given IPFS hash at a certain point in time. I don't need to send or receive ADA ...
user avatar
  • 111
2 votes
2 answers
43 views

Understanding this transaction - why isn't it spending the full amount?

I'm doing some analysis on Db-sync and I came across a situation where it appeared the full EUTXO at an address was not being spent so wanted to see what I was misunderstanding. Here is the first ...
user avatar
  • 223
1 vote
1 answer
37 views

How to interpret complex transaction data on cardano blockchain

for many of you this may seem as a complete noob question, but I am as many new to this world and can need a hand with this question. I am currently looking at some random transactions of some NFTs ...
user avatar
1 vote
1 answer
22 views

How to use plutus script withness in other plutus script

How can we reference the use of other scripts in a plutus validator?. Wat I was trying to making is an validator that only validates if an other predetermined plutus scripts also validates in the same ...
user avatar
  • 896
1 vote
0 answers
39 views

How is metadata typed on the blockchain

I am reading through the haddock documentation to find the way metadata is attached to a transaction. In this documentation (1) we have data Blockchain = [Block] data Block = [OnChainTx] Where and ...
user avatar
  • 896
0 votes
1 answer
65 views

Plutus transaction error PT5

I am building a transaction where I use the following function to make my datum and redeemer, writeJSON :: PlutusTx.ToData a => FilePath -> a -> IO () writeJSON file = LBS.writeFile file . ...
user avatar
  • 896
1 vote
1 answer
26 views

transaction sign from 2 different wallet to unknown wallet

i have 2 wallet in my node, each one hold different Asset and ADA. i want to sign a transaction with "cardano-cli transaction sign" command, using 2 times the "--signing-key-file " ...
user avatar
  • 303
0 votes
0 answers
82 views

Can someone show me how to get the transaction in the proper format for cip-30?

I have generate a transaction using cardano-cli and I am trying to get Nami wallet to sign the transaction. The command to build the transaction cardano-cli transaction build-raw --fee 0 --tx-in $...
user avatar
  • 21
0 votes
0 answers
27 views

How to set a specific amount for native token when calling CIP30 api.getUtxos() method in Nami, CCvault, Flint and other CIP30-compliant wallets?

In the CIP30 spec, we are supposed to be able to get a subset of the user's UTXOs if we specify an "amount" when calling the method getUtxos(): api.getUtxos(amount: cbor\ = undefined, ...
user avatar
  • 1
0 votes
0 answers
83 views

Get witness set from serialization library and submit it with cardano-cli

By creating an API that builds the transaction with cardano-cli and sends the CBOR to the front-end to sign it, I was able to reduce the resource consumption from the browser and keep every thing in ...
user avatar
  • 753
1 vote
2 answers
50 views

Best approach to retrieving transaction by id

The Cardano ecosystem has a mountain of various tools for querying the chain. Here are a few I'm aware of Ogmios Cardano-Wallet dbsync Cardano-graphql koios We would like to retrieve all information ...
user avatar
0 votes
0 answers
54 views

How to sign transaction externally?

I am using the cardano-serialization-lib to derive addresses and create a transaction unsigned. I am then passing that transaction hash in CBOR to an external program to handle the signing process. I ...
user avatar
  • 40
0 votes
1 answer
51 views

What is the role of datum in spending a transaction

So i am going over the plutus-pionner-program right now and he keeps on iterating this point. Transaction that spends a script output need to provide the datum of that script. Transaction that send ...
user avatar
0 votes
0 answers
19 views

Curious case of tx missing in Daedalus after sync even though subsequent tx show up

In a partcular case, I found Daedalus (version 4.9.0) missing incoming tx to certain addresses whereas the same show up on CCVault for the same seed phrase. The addresses where generted using the ...
user avatar
  • 744
1 vote
0 answers
21 views

How do I get bids or listed NFTs using the cardano serialization libray?

We're building a marketplace for cardano and we're aware that the owned tokens/nfts can be fetched via the getBalance() function. How do we get the bids or lists (for sale) for a particular owner ...
user avatar
0 votes
1 answer
40 views

What is the exact transaction lifecycle?

Something which is still fuzzy to me. What is the exact transaction lifecycle? What happens after we submit a transaction via the cli? Does the transaction get broadcasted to the nodes directly for ...
user avatar
0 votes
3 answers
52 views

Unable to get transaction hash and index of the UTXO to spend

We are unable to get transaction hash and index of the UTXO to spend. Actually we are creating simple transaction and were using this link https://developers.cardano.org/docs/stake-pool-course/...
user avatar
1 vote
1 answer
63 views

What is an unbalanced transaction? How does adjusting an unbalanced tx actually work?

In Week06, there was an implementation of adjusting an unbalanced transaction in the plutus script. Can someone explain what an unbalanced transaction really is? And how does it actually work when we ...
user avatar
2 votes
1 answer
50 views

Transaction lifecycle

Working to understand transaction lifecycle. Some understanding of Bitcoin transaction lifecycle perhaps helps here. That is, a transaction is originated from a client request to a node. This node ...
user avatar
  • 183
1 vote
1 answer
23 views

Is there a limit to the number of tokens you can have at 1 single UTXO?

I believe this situation applies to both native tokens and NFTs. I'm aware that at a single UTXO we can have multiple tokens. For example: 20000 lovelace + 10000 policyid1.tokenname1 + 1000 policyid2....
user avatar
1 vote
0 answers
91 views

How can I execute a SundaeSwap transaction from the Cardano-CLI?

Goal I want to be able to use the cardano-cli to swap some tokens on SundaeSwap. What I have Working local cardano-node cardano-cli What is missing If I understood this correctly (please correct me ...
user avatar
  • 3,121
2 votes
1 answer
160 views

How can I download transaction history of any public address as CSV?

How can I download transaction history of any public address as CSV? Use case: For some 'lost' wallets (lost seed phrase) I need to get the transaction history for Tax Software. Cannot figure out a ...
user avatar
0 votes
1 answer
75 views

cardano-cli submit error: ScriptWitnessNotValidatingUTXOW

I have a problem when submitting a transaction using cardano-cli 1.33. This is my transaction: cardano-cli transaction build-raw --tx-in ...
user avatar
1 vote
0 answers
19 views

Contract continuity in the eUTxO model

The paper which introduces the eUTxO model mentions an idea called contract continuity: we need to be able to enforce that the same contract code is used along the entire sequence of transactions — ...
user avatar
0 votes
1 answer
24 views

Transactions without receiver_address

I am trying to figure out transactions without receiver address or same receiver and sender address . What do these transactions mean ? I also see a deposit in the later part of the transaction. Can ...
user avatar
2 votes
1 answer
22 views

Higher than needed transaction fees

Let's say I have a transaction that I manually altered to include transaction fees that are higher than the required amount of fees. The transaction is perfectly balanced and, apart from this, does ...
user avatar
  • 1,306