Questions tagged [tx]

The tag has no usage guidance.

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

Get from, to, amount information from a tx hash?

How to fet from, to, and amount information from a tx hash in cardano usin javascript? Thank you
0 votes
1 answer
85 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, &...
0 votes
1 answer
73 views

What's the correct way of submitting a transaction using cardano-graphql?

I'm getting this error when trying to submit a transaction using graphql: { "errors": [ { "message": "Deserialization failed in Transaction.metadata because: ...
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 ...
1 vote
1 answer
85 views

Where is the txValidRange default value set?

In lecture 3 of the Plutus Pioneer Program Vesting.hs, I noticed that the example vesting give/ grab endpoints work by waiting a number of slots after the deadline. The script then checks ...
0 votes
1 answer
334 views

Calculation of transaction fees

Is there documentation for the calculation of transaction fees with examples and real parameter values somewhere ? Maybe something similar to the one on the minimum Ada value here: https://docs....
1 vote
2 answers
120 views

Is there a way to go from a TxId to a Tx?

I looked through the Plutus GitHub and found some info, but I cannot decode it.plutus/plutus-ledger/src/Ledger/Tx.hs Here it is: encode (SomeTx tx eraInMode) = encodedMode eraInMode <> ...
2 votes
0 answers
17 views

Telling a TxId from a contract to use it in a webapp?

I want to submit a transaction and then expose that TxId to the PAB via the contracts tell function. This TxId can then be used by a front end as a more precise pointer to the onchain representation ...