Skip to main content
POST
quai_calculateConversionAmount

ボディ

application/json
jsonrpc
enum<string>
必須
利用可能なオプション:
2.0
:

"2.0"

method
enum<string>
必須

The name of the method to be invoked.

利用可能なオプション:
quai_qiToQuai
:

"quai_qiToQuai"

params
(object | string)[]
必須

The transaction data to know the type of conversion and amount used for the conversion.

Required array length: 1 element
:
id
integer
必須

A unique identifier for the request.

:

1

レスポンス

200 - application/json

Successful response

jsonrpc
string
:

"2.0"

result
string

The amount of Quai (Wei) or Qi in (Qits) after the conversion flow and k quai discount slip is applied at the current block

:

"0xA98AC7"

id
integer
:

1