Custom ABI
Last updated
Last updated
Copyright © Blockscout Limited 2023-2024
The Custom ABI feature is useful for debugging and testing newly deployed smart contracts. This feature can be used with verified or unverified contracts.
Once a custom ABI is added, the user can test methods using the Write Custom
feature.
1) Login to My Account in Blockscout to get started. Once logged in:
Go to Custom ABI in the My Account menu.
Press the Add Custom ABI button.
2) Fill in the fields.
Smart Contract Address. Enter the correct 0x
address of the deployed contract.
Project Name. Create a name for your own reference.
Custom ABI: Copy and paste in the ABI for the contract from your development environment (truffle, hardhat, remix etc) or if the contract is verified you can copy from Blockscout.
Press Create custom ABI.
3) Custom ABI added to the home screen. You can edit or remove current custom ABIs or add additional custom ABIs from here.
You will need to be logged into My Account to interact with your custom ABIs. Once you added, you can visit the contract to interact with the custom ABI.
Go to the contract page.
You will see a Write custom button.
Connect your wallet to interact with the contract.
Write to the available methods.