跳至主要內容
本頁面使用機器翻譯自英語,可能包含錯誤或不清楚的語言。如需最準確的信息,請參閱英文原文。由於更新頻繁,部分內容可能與英文原文有出入。請加入我們在 Crowdin 上的努力,幫助我們改進本頁面的翻譯。 (Crowdin translation page, Contributing guide)

[Transaction] klay_call

Executes a new message call immediately without creating a transaction on the block chain. It returns data or an error object of JSON RPC if error occurs.

If you deployed a contract, use klay_getTransactionReceipt to get the contract address.

NOTE In versions earlier than Kaia v1.7.0, only integer block number, the string "earliest" and "latest" are available.

JSONRPC: klay_call

Request

Responses

Return value of executed contract or returns an error object of JSON RPC if anything goes wrong

讓這個頁面變得更好