Call Contract Method

This Call Contract Method using this method.

API Specification

Call Contract Method

POST http://localhost:8889/wallet/callContract

Call Contract Method under the given instance.

Headers

Name
Type
Description

ChainId*

String

ChainId

Request Body

Name
Type
Description

to*

String

The recipient's address

walletId*

String

The ID of the wallet

params*

String

Additional parameters for the transaction

method*

String

The method for the transaction

contractABI*

String

The Application Binary Interface (ABI) of the contract

{
  "Status": "SUCCESS",
  "Message": "",
  "Data": {
    "response": []
  }
}

Take a look at how you might call this method using our official libraries, or via curl:

Last updated

Was this helpful?