# Where to find ABIs and smart contract source code

**URL:** <https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417>\
**Category:** PulseChain\
**Created:** [February 5, 2024, 8:55pm UTC](https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417 "2024-02-05T20:55:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kolvir](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.pulsechain.forum/kolvir/32/254_2.png) [@Kolvir](https://www.pulsechain.forum/u/Kolvir)\
**Post date:** [February 5, 2024, 8:55pm UTC](https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417/1 "2024-02-05T20:55:31Z")

</div>

Goto [https://scan.pulsechain.com](https://scan.pulsechain.com).  
Either follow the link or better yet, download and run it yourself. Read the docs.

Enter in a token or router address, for example the Pulsex Router 02:  
0x165C3410fC91EF562C50559f7d2289fEbed552d9

Click on the ‘Contract’ button and all will be revealed.

If there are better options or resources, **Please** reply with them.

---

<div class="post-metadata">

**Author:** ![RHMax](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.pulsechain.forum/rhmax/32/14_2.png) [@RHMax](https://www.pulsechain.forum/u/RHMax)\
**Post date:** [February 6, 2024, 7:15pm UTC](https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417/2 "2024-02-06T19:15:39Z")

</div>

I wrote some code a while back using the HEX ABI for reference

> **[GitHub - rhmaxdotorg/web3-hex: hex crypto and web3 console and anvil app](https://github.com/rhmaxdotorg/web3-hex)**
>
> hex crypto and web3 console and anvil app. Contribute to rhmaxdotorg/web3-hex development by creating an account on GitHub.

and a blog post talking about it

> **[HEX and Web3 — Richard Heart Maximalism](https://rhmax.org/blog/hex-and-web3)**
>
> Intro HEX crypto has it all when it comes to game theory, trustless design, performance and community, but few understand how to talk to the blockchain and programatically talk to the Ethereum (and PulseChain) contract to pull down stats and data...

---

<div class="post-metadata">

**Author:** ![Kolvir](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.pulsechain.forum/kolvir/32/254_2.png) [@Kolvir](https://www.pulsechain.forum/u/Kolvir)\
**Post date:** [February 6, 2024, 7:33pm UTC](https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417/3 "2024-02-06T19:33:40Z")

</div>

Excellent, thank you.

---

<div class="post-metadata">

**Author:** ![Kolvir](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.pulsechain.forum/kolvir/32/254_2.png) [@Kolvir](https://www.pulsechain.forum/u/Kolvir)\
**Post date:** [February 9, 2024, 12:44am UTC](https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417/4 "2024-02-09T00:44:34Z")

</div>

There is a contract that I need the ABI for , but the pulsechain explorer always returns an error when I click on the contract. Is there another way to get the ABI?

---

<div class="post-metadata">

**Author:** ![RHMax](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.pulsechain.forum/rhmax/32/14_2.png) [@RHMax](https://www.pulsechain.forum/u/RHMax)\
**Post date:** [February 9, 2024, 1:15am UTC](https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417/5 "2024-02-09T01:15:57Z")

</div>

For Ethereum tokens:

Go to etherscan and the token you want the ABI for, such as HEX

> **[HEX (HEX) Token Tracker | Etherscan](https://etherscan.io/token/0x2b591e99afe9f32eaa6214f7b7629768c40eeb39#code)**
>
> HEX (HEX) Token Tracker on Etherscan shows the price of the Token $0.0076, total supply 592,787,866,143.59104078, number of holders 334,126 and updated information of the token. The token tracker page also shows the analytics and historical data.

Then click the copy button opposite side of Contract ABI

For PulseChain:

Same deal, but for example I go to [gorealdefi.com](http://gorealdefi.com) → click Explorer → type in HEX and see the green checkmark on the official contract then Click Contract, find Contract ABI and click copy

---

<div class="post-metadata">

**Author:** ![Kolvir](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.pulsechain.forum/kolvir/32/254_2.png) [@Kolvir](https://www.pulsechain.forum/u/Kolvir)\
**Post date:** [February 9, 2024, 2:11am UTC](https://www.pulsechain.forum/t/where-to-find-abis-and-smart-contract-source-code/417/6 "2024-02-09T02:11:50Z")

</div>

Thanks! I hadn’t seen that site before.

Same problem:  
Something went wrong. Try refreshing the page or come back later.

Can a contract ABI be private? Is that the issue? It has the green checkmark. Also has the read and write functions available but I don’t know how to interact with that promaticly like the ABI.
