SmartMethodParamsGet()

Retrieve Method Parameters of given Contract

Before calling the function make sure you have the Connector object initialized.

Understanding Connector Object

Function Call

Field

Type

Description

Address

string

Base58 ed25519 Smart Contract Address

Id

long

Id of method

SmartMethodParamsGet("Input here Base58 Smart Contract Key",1);

Return value of function: SmartContractGetResult

Example

Connector connect_ = new Connector("95.111.224.219", 9091);
NodeApi.SmartContractGetResult SmartContractParams = connect_.SmartMethodParamsGet("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct",1);
Console.WriteLine(SmartContractParams);

Return value of function: SmartContractGetResult

Output of Example

Output is printed via ObjectDumper

{SmartMethodParamsGetResult}
  Status: {APIResponse}
    Code: 2
    Message: "Not Implemented: "
  Method: ""
  Params: ...

Last updated

Was this helpful?