Skip to content

Commit

Permalink
doc: update send transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
akasuv committed Sep 26, 2023
1 parent 9dc5392 commit 1ea8312
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ if (connected) {

```typescript
async function sendTransaction() {
const res = await app?.cyberWallet
?.sendTransaction({
to: "0x00000000000...",
value: parseUnits("0.0001", 18),
const res = await app?.cyberWallet?.optimism
.sendTransaction({
to: "0x1234134234",
value: "0.000000000000000001",
data: "0x",
})
.catch((err: any) => console.log({ err }));
Expand Down

0 comments on commit 1ea8312

Please sign in to comment.