Skip to content

Commit c558c11

Browse files
committed
chore: improves tsdoc examples
1 parent d759476 commit c558c11

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/client/src/actions/transactions.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ import type { UnexpectedError } from '../errors';
3030
* },
3131
* borrower: evmAddress('0x9abc…'),
3232
* chainId: chainId(1),
33-
* });
33+
* }).andThen(sendWith(wallet));
34+
*
35+
* if (result.isErr()) {
36+
* // Handle error, e.g. insufficient balance, signing error, etc.
37+
* return;
38+
* }
39+
*
40+
* // result.value: TxHash
3441
* ```
3542
*
3643
* @param client - Aave client.

0 commit comments

Comments
 (0)