Skip to main content

Questions tagged [transactions]

Questions about transactions, including signed and unsigned extrinsics, transaction formats, transaction pools and constructing transactions.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
60 views

Is there any good way to keep an intermediate state for an operation between several transactions/blocks in a BABE/GRANDPA-based chain?

I know that the best practices suggest designing transactions (pallet calls) in a way that executes the operation atomically and doesn't keep any intermediate states. This guarantees, that in case a ...
Yahor Tsaryk's user avatar
3 votes
0 answers
31 views

ink dapp asking to sign transactions everytime i reload

so i am building a dapp with ink it has messages to get data and put data and on FE when i logged in with the polkadot-js extension wallet everytime i reload the page it asks me to sign the ...
rahul's user avatar
  • 133
2 votes
0 answers
43 views

Proof-of-Work Substrate Chain with Multiple Validators

I'm working on a Proof-of-Work (POW) substrate chain. Assuming we have four validators, all of which have enabled on-chain workers (OCW), is it accurate to state that each validator's OCW fetches data ...
Deepak Chaudhary's user avatar
2 votes
0 answers
41 views

How do pallet and consensus model/algorithm/infrastructure work together?

Hi guys I am new to blockchain and susbtrate, so these questions would be stupid to you...But I really need some help here... How does substrate ensure anything has been done inside the pallet will ...
eggachecat's user avatar
1 vote
0 answers
52 views

how can i achieve 10000 tps in layer zero polkadot based chain

I have my blockchain deployed on production . i want some addition in my chain. i want my chain to have 10000 tps .How can i achieve that in my current layer0 chain without using multiple parachains ....
Karanvir Singh's user avatar
1 vote
1 answer
123 views

How to get the payload from a polkadot-js transaction

I'm wondering what are the possible ways to extract the payload from a polkadot-js transaction. So far the only way seems to be to define a custom signer that implements the Signer interface and then ...
Hamid's user avatar
  • 101
1 vote
0 answers
65 views

Transactions in a one-way synhronized node

Assume you submit a transaction to a Full Node which is configured incorrectly such that it can forward transactions but does not receive back results, e.g. it is working one-way Full Node x-> ...
0x5hmoo's user avatar
  • 189
1 vote
0 answers
13 views

How do i know that from which parachain/app, a particular transaction belongs/coming from? (based on below informatino)

Looking at transaction information i want to know from which parachain it's coming ex : app.parallel.finance, astar, kapex etc etc. { specVersion: "", transactionVersion: "", ...
Jay Patel's user avatar
  • 111
1 vote
0 answers
105 views

KSM DOT Extrinsic difference?

Does anyone know that is there a difference between DOT / KSM / Westend transactions? Context: A common send/transfer transaction... I can generate same pk and address for Dot and KSm and WST chains ...
atesz's user avatar
  • 21
1 vote
0 answers
40 views

Custom Transaction type

I'm trying to create a layer 2 blockchain. In this blockchain, I do some computing to add to a transaction. Basically, I want to add a custom type to store in the block alongside Extrinsics. Are there ...
Burak's user avatar
  • 903
0 votes
1 answer
24 views

KSM, WND transfer transaction fail, but DOT success

I used the same program, the same fullnode version, and the same Substrate API sidecar version to submit transfer transactions for DOT, KSM, and WND. Only DOT was successful. Two months ago, DOT, KSM, ...
Bomax Chen's user avatar
0 votes
1 answer
43 views

execute_block, initialize_block, apply_extrinsic, finalize_block, offchain_worker exists for struct `Executive` but its trait bound were not satisfied

I developed substrate parachain with custom pallets. Actually I wanna add OCW functionality to one of my pallets. After I updated runtime code and added CreateSignedTransaction implementation I tried ...
Artem Levchuk's user avatar
0 votes
0 answers
26 views

What is the reason for this unexpected transaction ordering

My understanding is that transaction priority and therefore the ordering in the block is determined by the fee and tip paid. I have noticed a number of times that transactions with the highest total ...
Tom's user avatar
  • 11
0 votes
0 answers
28 views

How can one design and implement a fee rule?

I hope you are doing well! How can one design and implement a fee rule on a substrate-based blockchain that is contingent on the transaction payment value? I would like to create this fee rule based ...
Zacksys ME's user avatar
0 votes
0 answers
26 views

batchall.sign throws TypeError: Cannot read properties of undefined (reading 'specVersion')

Trying to form a batchAll command that carries out 2 activities: Deposit 1 GLMR from wallet1 to wallet2 Cancel tokens' delegation revoke When I try to sign the batch with wallet1 (batchAllExtrinsic....
J B's user avatar
  • 1
0 votes
0 answers
22 views

Unit testing an extrinsic submitted by an Offchain Worker?

As far as I could understand so far there is no a "normal" way to test extrinsics submitted by an Offchain Worker, rather a substitute transaction pool is involved. However it is possible to ...
Yury Yukhananov's user avatar