Skip to main content
3 votes
Accepted

Calculation of transaction fees

Calculation procedure is here: Cardano fee structure The formula for calculating minimal fees for a transaction (tx) is a * size(tx) + b, where: a/b are protocol parameters size(tx) is the ...
georgeos's user avatar
  • 1,764
2 votes
Accepted

Where is the txValidRange default value set?

This is the flow from Playground to the onchain validator: Playground (grab) --> endpoints --> grab (offchain contract) --> validator (onchain). txInfoValidRange is set by grab (offchain ...
kindofdev's user avatar
  • 1,304
2 votes

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

The answer is no. A TxId is hash digest (blake2b-256) of the serialized transaction body. By construction, a hash is non-reversible (https://en.wikipedia.org/wiki/Cryptographic_hash_function). In ...
KtorZ's user avatar
  • 533
1 vote
Accepted

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

I don't suggest using cardano-graphql to submit a transaction: every time the node gets behind the tip of the blockchain, it fails. ogmios is much more reliable for this regard. You can submit a ...
Falcon Stakepool's user avatar
1 vote

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

In theory no; In practice maybe. If min ada is not present in each output then the Tx will fail regardless of validator. But. Min ada as implemented in Plutus is hardcoded to 2 ada. This is not how ...
waalge's user avatar
  • 403

Only top scored, non community-wiki answers of a minimum length are eligible