Skip to content

Commit e4ee409

Browse files
Fix syntax errors in Starknet transaction documentation (#1811)
* Update send-starknet-transactions.md * Update wallet/how-to/use-non-evm-networks/starknet/send-starknet-transactions.md --------- Co-authored-by: Alexandra Carrillo <[email protected]>
1 parent 96f4316 commit e4ee409

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

wallet/how-to/use-non-evm-networks/starknet/send-starknet-transactions.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ The following is a full, simplified example of connecting to a Starknet account
162162
if (maxFee) {
163163
requestParams.details = {
164164
maxFee
165-
}; // Include maxFee only if it's provided.
165+
};
166+
}
166167
const response = await provider.request({ // Or window.ethereum if you don't support EIP-6963.
167168
method: "wallet_invokeSnap",
168169
params: {
@@ -184,10 +185,12 @@ The following is a full, simplified example of connecting to a Starknet account
184185

185186
// Example usage.
186187
const calls = [
187-
"entrypoint": "transfer",
188-
"calldata": ["0x5B38Da6a701c568545dCfcB03FcB875f56beddC4", "1000"],
189-
"contractAddress": "0x5B38Da6a701c568545dCfcB03FcB875f56beddC4",
190-
]
188+
{
189+
"entrypoint": "transfer",
190+
"calldata": ["0x5B38Da6a701c568545dCfcB03FcB875f56beddC4", "1000"],
191+
"contractAddress": "0x5B38Da6a701c568545dCfcB03FcB875f56beddC4"
192+
}
193+
];
191194
const address = "0xb60e8dd61c5d32be8058bb8eb970870f07233155";
192195
const maxFee = "1000000000000000"; // Optional.
193196

@@ -198,4 +201,4 @@ The following is a full, simplified example of connecting to a Starknet account
198201
```
199202
200203
</TabItem>
201-
</Tabs>
204+
</Tabs>

0 commit comments

Comments
 (0)