GetContractMethods()

Summary

Route
Type
Example

/contract/getmethods

POST

http://176.113.80.7:62000/api/contract/getmethods

Description

Get a list of smart contract methods by its PublicKey.

Request

Request Structure

{

// Parameters common for all requests
  
"PublicKey": "base58_string",// Smart contract PublicKey in Base58

}

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

Example Code

Python

C++

C#

Last updated