Open jelilat opened 10 months ago
Hi may i take this issue ?
The following endpoints have missing starknet.js code
starknet_call
starknet_estimateFee
starknet_estimateMessageFee
starknet_addInvokeTransaction
starknet_addDeclareTransaction
starknet_addDeployAccountTransaction
starknet_simulateTransactions
Can you please go tell how to get started with this task; I have good experience writing APIs, but some more context would be really helpful to get started :D
@makluganteng is it possible i take some of the methods. or you are done solving them. there are no js issues to solve.
Im all good no worries 🙏
Alright.
HI i have a question on the estimate fee , there are multiple type of transaction do i put into the same inside the starknet.js
// Estimate the fee for StarkNet transactions
{
name: "starknet_estimateFee",
params: {
request: [BROADCASTED_INVOKE_TXN], //TODO:
simulation_flags: [
{
placeholder: "SKIP_VALIDATE",
description:
"Flags that indicate how to simulate a given transaction. By default, the sequencer behavior is replicated locally",
},
],
block_id,
},
starknetJs: `${STARKNET_JS_PREFIX} //here but im wondering how to differentiate the transaction here
`,
starknetGo: ``,
starknetRs: ``,
},```
HI i have a question on the estimate fee , there are multiple type of transaction do i put into the same inside the starknet.js
// Estimate the fee for StarkNet transactions { name: "starknet_estimateFee", params: { request: [BROADCASTED_INVOKE_TXN], //TODO: simulation_flags: [ { placeholder: "SKIP_VALIDATE", description: "Flags that indicate how to simulate a given transaction. By default, the sequencer behavior is replicated locally", }, ], block_id, }, starknetJs: `${STARKNET_JS_PREFIX} //here but im wondering how to differentiate the transaction here `, starknetGo: ``, starknetRs: ``, },```
@makluganteng Not sure I fully understand your question. Can you please rephrase?
Sorry , so i saw there was multiple type of transaction and do we add that types of transaction on the code above ? or we need to make extra validation on the FE if its this type of transaction then there should be different code
The following endpoints have missing starknet.js code
starknet_call
starknet_estimateFee
starknet_estimateMessageFee
starknet_addInvokeTransaction
starknet_addDeclareTransaction
starknet_addDeployAccountTransaction
starknet_simulateTransactions