Questions tagged [transaction]

Transferring assets from one address to another.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Serialize a transaction in python

I want to use the "Submit a transaction" method in Blockfrost but it needs an already serialized transaction. Does anybody know how to serialize a transaction in python? (I don't wanna use ...
0
votes
1answer
22 views

Missing prefix to get transaction id bech_32 string

I'm missing transaction prefix in order to get bech32 hash of transaction id using cardano-serialization-lib. What prefix is used in transaction bech32 hash and how can I find/compute one? const ...
0
votes
1answer
24 views

Back-to-back transactions produce ValueNotConservedUTxO error

I recently wrote some scripts that mint and send tokens. When I run the script to mint a token and then immediately run the script to send that token to a wallet, I get this error: Error: Command ...
0
votes
1answer
20 views

Delegation Deposit

When delegating for the first time there is a 2 ADA deposit being spent. Is this 2 ADA ever returned? if yes when is it returned and how?
1
vote
0answers
34 views

Maximum transaction size

As far as I know the maximum transaction size is 16kB including metadata https://github.com/cardano-foundation/CIPs/blob/master/CIP-0009/CIP-0009.md However, I recently submitted successfully several ...
2
votes
2answers
36 views

Mnemonic seed from signing and verification key?

I followed an iohk tutorial for minting native assets. The result is that I have a eutxo with the assets, but not enough ada in the eutxo to send them out. I added more ada to the wallet, but the ...
0
votes
1answer
43 views

The Plutus script evaluation failed

Running into this error when attempting to build a tx. Command failed: transaction build Error: The following scripts have execution failures: the script for transaction input 1 (in the order of the ...
0
votes
1answer
13 views

Our valid transaction never posts to the chain. TraceMempoolRemoveTxs in log

We are programatically submitting transactions to the blockchain using cardano-wallet. Everything seems to be fine when we do so. cardano-wallet returns a 202 indicating success along with a ...
2
votes
1answer
41 views

Will the size of transaction be affected if the same input script is provided multiple times for different utxos?

If there are multiple --tx-in-script-file for the same plutus script file only with different utxos is that means that multiple times will be sent plutus script and that will affect the size of a ...
1
vote
1answer
55 views

How to identify who sent a transaction

We are trying to figure out how to identify the sender (source address) of a given transaction retrieved using cardano-wallet. Here is an example datastructure from the api. Be aware the field values ...
1
vote
2answers
41 views

How long does it take for a transaction to reach a given depth? (How long to reach depth N?)

I realize that the time it takes to reach specific depths is not precisely calculable. Nonetheless, there must be a rule of thumb for roughly how long each block takes to process. For example, if we ...
1
vote
1answer
39 views

How to retrieve the datum added with the option –tx-out-datum-embed-file from the tx witness data

I have been thinking recently about the way we are predominately creating NFTs on Cardano, right now the trend is to add the NFT attributes to the transaction metadata, however, I think this is not ...
1
vote
1answer
50 views

Most efficient way to monitor a wallet for transactions

I'd like to monitor the blockchain and react to when ada is deposited to my wallet. I'm curious about the most efficient way of going about this. For example, if I use the cardano-wallet api it has ...
1
vote
0answers
40 views

Is it possible to validate on-chain if two different wallet addresses come from the same person?

My goal is: I would like to create a smart contract which would verify if unlocking transaction comes from the same person as the wallet address which is known before hand. What I have tried: I have ...
1
vote
1answer
31 views

How to interpret asset transactions data for a NFT?

Using the blockfrost API I quired the transaction history of a NFT using the following script: from blockfrost import BlockFrostApi, ApiError, ApiUrls api = BlockFrostApi( project_id='...
1
vote
1answer
36 views

Free failed transactions or DoS protection? Which is it?

I've been hearing that in Cardano transaction fees are highly predictable (in contrast to Eth gas fees) and that failed transactions don't pay fees. This is in direct contradiction to the transaction ...
0
votes
1answer
65 views

Hash script data

I want to understand a bit better the hash-script-data functionality from cardano-cli. I checked the source code but had no luck in understanding how this hash is made. From the examples, if we run: ...
2
votes
1answer
42 views

Store data in Tx Metadata on Cardano

I would like to notarize some data (like document signatures for example) of less than 500KB on the blockchain and for that I thought to use the Metadata field of a transaction. So I have 2 questions: ...
5
votes
2answers
426 views

When is an eUTXO consumed?

Scenario There are two transactions tx1 and tx2 both trying to consume an arbitrary eUTXo oRef. Both tx1 and tx2 are submitted to the mempool in the same block, and are valid transactions; we can ...
2
votes
1answer
65 views

Convert Redeemer, Datum or Script Parameter to JSON

By following the alonzo-testnet exercises, I'm right now having to build a transaction with cardano-cli. One of the arguments necessary to consume a script is the datum, another is the redeemer, both ...
1
vote
1answer
156 views

How to convert a cardano address into a public key hash?

After spending some time learning Plutus with emulators, I decided to start learning how to actually deploy and use the scripts in the testnet. In this process, I installed cardano-cli and created ...
2
votes
1answer
76 views

How to list all wallet UTxOs with cardano-cli?

How to list all wallet's UTxOs with cardano-cli utility? Not only address UTxOs via: cardano-cli query utxo --address <ADDRESS> --mainnet
2
votes
0answers
20 views

Design considerations when automatically signing and submitting Cardano transactions

Automating transactions (eg an Oracle that regularly publishes meta data to the blockchain) require that we balance the necessity to sign each transaction using a signing key with the security of the ...
4
votes
2answers
246 views

What is the size limit of transaction's metadata?

Is there a size limit on transaction metadata? If there is a limit, is it varying or fixed size?
3
votes
1answer
48 views

How to calculate the transaction Id of a given signed transaction?

How do you calculate the Id of a given transaction? I have hex encoded signed transaction like this: ...
3
votes
1answer
112 views

Minting and distributing to different wallets

I am trying to build a transaction that mints a number of tokens and distributes them to different wallets. Like here: vote :: forall w s. Poll -> Contract w s Text () vote poll = do ... let ...
3
votes
0answers
61 views

Script unlock cannot submit, budget overspent

I'm trying to unlock some token at a script address, so I create a tx with cardano-cli transaction build ... this passes successfully, then I sign the tx. It is now ready for submit but when I submit ...
2
votes
1answer
36 views

Will the variables of the gas calculation formula be able to be dynamically adjusted by the protocol on Cardano?

My curiosity prompts me to ask you a question... We have seen with many L1 Blockchains a recurring problem: the transaction fees fatally get more and more expensive with the valuation of the native ...
3
votes
2answers
50 views

Is it normal to have an empty body for the input object when viewing a transaction with cardano-wallet?

I was scanning the incoming transactions of a cardano-wallet and a transaction's input body did not contain an address. The other transactions had an address. Is this a normal occurence? If so, how do ...
1
vote
1answer
104 views

ADA locked with assets

Can you send just NFTs and the transaction fee or do you always need to send ADA in a transaction. Also is there a way to unlink the ADA and Asset in the receiver wallet?
4
votes
1answer
103 views

Are transaction witnesses stored on the blockchain?

According to Cardano's ledger spec (page 26), the purpose of witnessing is to make sure that the intended action is authorized by the holder of the signing key, providing replay protection as a ...
0
votes
0answers
27 views

Financial Contracts With Marlowe Pub KeyHash Question

Background: I've been looking to integrate smart contracts into my app and I came across this passage on the Marlowe site: A Party is represented as either a public key hash or a role name. data ...
0
votes
2answers
39 views

Advanced Payment Integration

I understand this is all new and still very early but I'm wondering if more advanced payment integration is possible. I went through the example of accepting payments, but I have an app releasing soon ...
0
votes
0answers
14 views

Opinions on Payment Integration Within App...?

I'd like some opinions on this possible integration of Cardano payments on my native iOS app. Native as in it runs and can store information on the device. So Apple would pretty much be behind the ...
0
votes
1answer
70 views

Is there a Cardano API to transfer ADA from one wallet to another using a backend server?

I'm really new to crypto but I've been a dev for a long time now in App and Web Development. I have an app where I'd like to accept payments In ADA. My question is if there's a Cardano API to transfer ...
0
votes
0answers
24 views

Syntax error in script when generating policyid

On windows I'm trying to mint some nfts on cardano testnet using this guide: https://developers.cardano.org/docs/native-tokens/minting-nfts/ Problem is that when I'm trying to generate policyID Im ...
3
votes
2answers
39 views

Transaction Notification

is there any tool that sends a notification when a incoming transaction happening on your wallet? Or what is the best way to check it with a script
3
votes
0answers
45 views

How to make payment to a payment address using Plutus?

In Plutus, Ledger.Constraints has the following Constraints mustPayToOtherScript, mustPayToPubKey, mustPayToTheScript, Is there a similar constraint that can used send funds to a payment address in ...
3
votes
1answer
87 views

Historic and Real-Time Data on Cardano Blockchain in csv or json format

I am conducting some research on Cardano and would like to know if there's any historic and real-time information (on daily basis or more granular) for the below area in json or csv format: (1) Number ...
4
votes
1answer
200 views

Calculating a Transaction Size and Fee

I realize that the CLI has commands for calculating a minimum fee based on a transaction size, but I'm wanting to do a calculation manually. The documentation states that the formula for calculating ...
3
votes
2answers
86 views

How will stake pools be prevented from cheating the fixed fee?

Cardano, as opposed to Ethereum, has a fixed transaction fee (currently 0.17ADA). There has been no problem with this fixed fee and no-one tried to cheat. Probably it is because there is not much to ...
5
votes
2answers
114 views

What is the cost (in ADA) of transferring ownership of NFTs?

I have a project underway using private Eth network (zero tx costs) where NFTs transfer ownership very frequently between various owners. I wish to move to Cardano for its completeness and security ...
0
votes
1answer
37 views

Questions about data storage and unique identifiers

Hi there I have a number of questions i hope you can help answer: Who binds the public key to the real-world identity and the identifier used for transactions? Where is confidential data held and how ...
1
vote
1answer
60 views

How can I get rewards into payment address?

I have stake pool paymentwithstake.addr which is a composition of payment.addr with stake.addr. I can query stake.addr for the balance using the following command: cardano-cli query stake-address-info ...
5
votes
1answer
119 views

Change minted tokens recepient

I am trying to create a dApp in which "accounts" are authenticated using a minting policy script. It should work by only allowing the minting of tokens if they are sent to an arbitrary ...
6
votes
1answer
290 views

How can I create a serialized transaction that can be submitted to the blockchain without a local full node?

My goal is to send a transaction (e.g. send 1 ADA from addr1A to addr1B) using the following endpoint of the blockfrost.io API: "Submit an already serialized transaction to the network." ...
4
votes
1answer
79 views

Are transaction fee's paid similarly to Bitcoin?

I understand the current staking rewards are a stepping stone to decentralization i.e. by incentivizing users to stake and pools to be set up to secure the Cardano blockchain with the left over Ada ...
2
votes
1answer
254 views

How to query cardano-graphql API to get the details of a transaction with the transaction id?

I am looking for a GraphQL query that will return transaction details as seen on the Cardano Blockchain Explorer when searched with txId. For example, https://explorer.cardano.org/en/transaction?id=...
4
votes
1answer
54 views

I couldn't find the requested endpoint

When I try to construct a transaction by following the Cardano Wallet Backend API (v2021-06-11) (Transaction New section) by writing this code in TypeScript: const resp: Response = await fetch(`http://...
9
votes
2answers
288 views

Does Cardano suffer from MEV?

There's a lot of chatter lately in the cryptosphere about Miner Extractable Value (MEV) in Ethereum. As I understand it, MEV is a property of the Ethereum blockchain where miners can (re)order/...