TriggerConstantContract

Trigger the constant of the smart contract, the transaction is off the blockchain. Returns the Transaction Object. The corresponding method must be marked view or pure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
Defaults to 410000000000000000000000000000000000000000

Owner address that triggers the contract. If visible=true, use base58check format, otherwise use hex format. For constant call you can use the all-zero address.

string
Defaults to 41a614f803b6fd780986a42c78ec9c7f77e6ded13c

Smart contract address. If visible=true, use base58check format, otherwise use hex format.

string
Defaults to balanceOf(address)

Function call, must not be left blank.

string
Defaults to 000000000000000000000000a614f803b6fd780986a42c78ec9c7f77e6ded13c

Parameter encoding needs to be in accordance with the ABI rules, the rules are more complicated, users can use the ethers library to encode,For details, please refer to the document-Guide-Smart Contract-Best Practice-Parameter Encoding and Decoding.

boolean

Optional.Whehter the address is in base58 format.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json