# Using Etherscan for Transactions

By [Burnable Labs](https://paragraph.com/@zeroxjake) · 2022-02-20

---

Connecting your wallet to any website is always a risky bet.

There’s no better time than now to learn how to use Etherscan to make transactions.

We’re going to walk you through step-by-step how to mint an NFT using Etherscan. By avoiding 3rd party websites, your keys will be safer.

Let’s use BAYC in our example.

Step 1) Find the Contract Address
---------------------------------

There are many simple ways to get the contract address.

On OpenSea, you can tap into any item for that collection and get the contract address in the URL.

Let’s look at the URL for BAYC #4671 `opensea.io/assets/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d/4671`

In the URL’s path, you can find the contract address `0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d` followed by the token id `4671`.

![](https://storage.googleapis.com/papyrus_images/bd4b13245390bfcc22c2feb05cdce1d289fd262938cf07369dcd9c1ddc9c7b02.png)

Another way to get the contract address is from a site like Icy Tools.

All you have to do is search for the project and one of the main things they highlight is the contract address `0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d` .

![](https://storage.googleapis.com/papyrus_images/d69b7a12669721bd4837e7d72b785314b65532eb138d387e8aef2ae1cbdb1c7a.png)

Step 2) Find Contract on Etherscan
----------------------------------

Go to etherscan.io and search for the contract address.

![](https://storage.googleapis.com/papyrus_images/bc778c04508f37f3074094a8c9d06176526e6060385e2529ba78bf95d0367333.png)

After searching, it should look like this.

![](https://storage.googleapis.com/papyrus_images/965c4f4b10f61c11fca581e22a71902fc515774c85254526127bb47031b2a929.png)

Great! Now we’ve found the contract on Etherscan.

Step 3) Find the Code
---------------------

Find and tap “Contract”.

If “Contract” doesn’t have a green verified checkmark it’s best to stay away.

![](https://storage.googleapis.com/papyrus_images/9cc9385be1f8415902ca6d0ca1288af057d1dc08921f8da11f576cc3326e4748.png)

Step 4) Find Write Contract
---------------------------

Tap “Write Contract”.

![](https://storage.googleapis.com/papyrus_images/ca1103f1a88e82f0f69fd1fdf98c28b454c4d8ab9be5ef4c2894a6ccfde6aa9f.png)

Step 5) Connect your Wallet
---------------------------

Tap “Connect to Web3”. This will take you through the prompts to connect your wallet to Etherscan.

![](https://storage.googleapis.com/papyrus_images/f683e04989f059191a6cc6f1d5b80d1015acc1833fb0e659a7fa1ca56b2a682d.png)

After you’ve successfully connected, it should look like this.

![](https://storage.googleapis.com/papyrus_images/ac633d74c06cfc497cb2a5c921038eac20e61d0cd767cfbece3511ee60004f25.png)

Step 6) Find the “Mint” Function
--------------------------------

The next step is to find the function you want to interact with. In most cases, you’ll be looking for a “mint” function.

The devs can name their function anything they want, but in most cases, it will be `mint` or `mintXYZ` depending on what the project is.

For BAYC, it’s clear their mint function is `mintApe`.

![](https://storage.googleapis.com/papyrus_images/048141a1d7186e07737ab049df114cbe6732025d5b94c38a8d175b40cc0ecce5.png)

Tap `mintApe` to make it expand. It should look like this.

![](https://storage.googleapis.com/papyrus_images/ef66300812387b509aef6b0b60e331b97dc089cc783ef4d5e204f72012a35f81.png)

Step 7) Make the Transaction
----------------------------

The final step is to write the transaction.

You’ll notice there are two inputs needed before you can tap “Write”. `payableAmount` and `numberOfTokens`.

`payableAmount` is the amount of ETH you’re going to pay (not including gas fees).

`numberOfTokens` is the number of tokens you want to mint.

The mint price for BAYC was 0.08 ETH.

If you wanted to mint 1 you’d put `0.08` for `payableAmount` and `1` for `numberOfTokens`.

If you wanted to mint 2 you’d put `0.16` for `payableAmount` and `2` for `numberOfTokens`.

f you wanted to mint 10 you’d put `0.8` for `payableAmount` and `10` for `numberOfTokens`.

Once you have your inputs set, tap “Write” to make a transaction!

![](https://storage.googleapis.com/papyrus_images/3d3533d88cda1f345db05fb28afa8c89654a0df24cddc461b6978c08e58a6043.png)

If you liked this tutorial, give us a follow on Twitter [@BurnableLabs](https://twitter.com/BurnableLabs) and hop in our Discord (link in Twitter bio).

---

*Originally published on [Burnable Labs](https://paragraph.com/@zeroxjake/using-etherscan-for-transactions)*
