GetContractMethods()

Summary

RouteTypeExample
/contract/getmethodsPOSThttp://apinode.credits.com/api/contract/getmethods

Description

Get a list of smart contract methods by its PublicKey.

Request

Request Structure

JSON
Copy

Request Structure

string: PublicKey - smart contract address in Base58

Response

JSON output depends on the request type and its success.

If there’s an error, request returns to the node basic Result:

  • Success: False
  • Message:

If successful, requested information is returned.

Response Structure

JSON
Copy

Example Code

Python
C#
C++
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard