SmartMethodParamsGet()

Retrieve Method Parameters of given Contract

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

triangle-exclamation
Understanding Connector Objectchevron-right

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);
circle-info

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);
circle-info

Return value of function: SmartContractGetResult

Output of Example

Output is printed via ObjectDumper

Last updated

Was this helpful?