Closed khanti42 closed 1 month ago
get-starknet users (they are dapp dev) interact with the starknet blockchain by calling execute which has the following signature :
get-starknet
abstract execute(transactions: AllowArray<Call>, transactionsDetail?: InvocationsDetails): Promise<InvokeFunctionResponse>;
The InvocationsDetails type defined by starknet.js is as follow
starknet.js
type InvocationsDetails = { nonce?: BigNumberish; maxFee?: BigNumberish; version?: BigNumberish;
The transaction version can be set there.
This is how we can handle the version on executeTxn rpc endpoint used by our federated module middleware.
executeTxn
i think the PR is not ready, shall we move it back to draft
get-starknet
users (they are dapp dev) interact with the starknet blockchain by calling execute which has the following signature :abstract execute(transactions: AllowArray<Call>, transactionsDetail?: InvocationsDetails): Promise<InvokeFunctionResponse>;
The InvocationsDetails type defined by
starknet.js
is as followThe transaction version can be set there.
This is how we can handle the version on
executeTxn
rpc endpoint used by our federated module middleware.