π ABI
Definition
ABI stands for Application Binary Interface. It is like a header file for your source code. Many blockchain platforms provide this capability. With ABI, Sentio can generate typesafe SDK for users.
EVM
You can read an article for Ethereum ABI here.
Normally, you can either generate ABI from your solidity code or get it from etherscan.
%20(5).png)
Solana Anchor
Anchor can generate IDL specifications for Solana programs, we treat them as ABIs in Solana.
If your Solana program is built by Anchor, you can find the IDL after running the Anchor build, normally placed in target/idl
folder.
Aptos & SUI
Aptos and SUI use the Move language. Their ABIs can be downloaded via their APIs, e.g.
- Aptos: use account module API https://mainnet.aptoslabs.com/v1/accounts/0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8/modules
- SUI: use
sui_getNormalizedMoveModulesByPackage
JSON RPC call.curl -L -X POST 'https://fullnode.devnet.sui.io/' -H 'Content-Type: application/json' --data-raw '{ "jsonrpc": "2.0", "id": 1, "method": "sui_getNormalizedMoveModulesByPackage", "params": [ "0x2" ] }'
Updated 7 days ago