Skip to content

Commit

Permalink
fix: update links
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngozi-Txfusion committed Jul 10, 2024
1 parent 0499e05 commit 2a97d16
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions content/sdk/30.python/01.guides/02.accounts-l1-l2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Methods to facilitate transactions between L1 and L2 networks
tags: ["zksync", "l1", "l2", "transactions", "python", "sdk"]
---

This section explores the methods which allow the [account](/sdk/python/api/accounts/accounts)
This section explores the methods which allow the [account](/sdk/python/api/accounts/wallet)
classes to send transactions from L1 to L2.

If you want to get some background on how L1->L2 interaction works on ZKsync Era, go through the
Expand All @@ -15,34 +15,34 @@ Full examples of actions below are available on the getting started page.
## Deposit

`Wallet` object provides a deposit workflow. For more information, please refer to the
method specification [`Deposit`](/sdk/python/api/accounts/accounts#deposit).
method specification [`Deposit`](/sdk/python/api/accounts/wallet#deposit).

For a complete example of how to execute the deposit workflow, take a look at the following:
[Deposit ETH and ERC20 token](https://github.com/zksync-sdk/zksync2-examples/blob/main/python/01_deposit.py).

## Request execute

`Wallet` and `L1Signer` objects provide an option to request execution of L2 transaction from L1.
For more information, please refer to the method specification [`request_execute`](/sdk/python/api/accounts/accounts#requestexecute).
For more information, please refer to the method specification [`request_execute`](/sdk/python/api/accounts/wallet#requestexecute).

## Base cost

`Wallet` object provides an option to calculate base cost for L2 transaction. For more information, please refer to the
method specification [`getBaseCost`](/sdk/python/api/accounts/accounts#getbasecost).
method specification [`getBaseCost`](/sdk/python/api/accounts/wallet#getbasecost).

## Claim failed deposit

`Wallet` object provides a claim fail deposit workflow. For more information, please refer to the method specification
[`claimFailedDeposit`](/sdk/python/api/accounts/accounts#claimfaileddeposit).
[`claimFailedDeposit`](/sdk/python/api/accounts/wallet#claimfaileddeposit).

## Finalize withdraw

`Wallet` object provides a finalize withdraw workflow. For more information, please refer to the method specification
[`finalizeWithdrawal`](/sdk/python/api/accounts/accounts#finalizewithdrawal).
[`finalizeWithdrawal`](/sdk/python/api/accounts/wallet#finalizewithdrawal).

## Withdrawal

`Wallet` object provides a withdrawal workflow. For more information, please refer to the method specification [`Deposit`](/sdk/python/api/accounts/accounts#deposit).
`Wallet` object provides a withdrawal workflow. For more information, please refer to the method specification [`Deposit`](/sdk/python/api/accounts/wallet#deposit).

For a complete example of how to execute the deposit workflow, take a look at the following:
[Withdraw ETH and ERC20 token](https://github.com/zksync-sdk/zksync2-examples/blob/main/python/09_withdrawal.py).

0 comments on commit 2a97d16

Please sign in to comment.