# invoke_contract_offline

invoke_contract_offline calls the offline interface of the smart contract.

request

{
  "jsonrpc": "2.0", 
  "method": "invoke_contract_offline", 
  "params": ["nathan", "XWCTCQtETHn1MUjN3hJNTmWKe9gwFrZWFH12mN", "hello", "world"], 
  "id": 1
}

Input parameters

  • Call account
  • Contract address
  • Method name
  • Contract method parameters

response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": "hello world"
}

return value

The return value is defined by each contract developer. Please refer to the specific contract interface documentation.