Icon LinkABIs

Icon Link添加 ABI

要添加 ABI,请使用 addABI() 方法。

<CodeImport file="../../examples/abis/AddAbi.tsx" commentBlock="addABI" />
Icon LinkCheck it working

* Input's initial contractId and ABI are from  

SwaySwap Icon Link

Icon Link获取合约 ID 的 ABI

要检索合约的 ABI,请使用 getAbi() 方法。

<CodeImport file="../../examples/abis/Abi.tsx" commentBlock="getABI" />