public class KIP13 extends Contract
Constructor and Description |
---|
KIP13(Caver caver,
java.lang.String contractAddress)
Creates a KIP13 instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isImplementedKIP13Interface()
Checks if the contract implements KIP-13.
|
boolean |
sendQuery(java.lang.String interfaceId)
Sends query to check whether interface is supported or not.
|
call, call, callWithSolidityType, callWithSolidityType, deploy, deploy, deploy, deploy, encodeABI, encodeABIWithSolidityType, estimateGas, estimateGasWithSolidityType, getAbi, getCaver, getConstructor, getContractAddress, getDefaultSendOptions, getEvent, getEvents, getMethod, getMethods, getPastEvent, getWallet, once, send, send, send, sendWithSolidityType, sendWithSolidityType, sendWithSolidityType, setDefaultSendOptions, setWallet
public KIP13(Caver caver, java.lang.String contractAddress) throws java.io.IOException
caver
- A Caver instance.contractAddress
- A contract address.java.io.IOException
public boolean sendQuery(java.lang.String interfaceId)
If you want to execute this method alone, it recommended to execute isImplementedKIP13Interface()
before.
interfaceId
- The interface id to check.public boolean isImplementedKIP13Interface()