Skip to main content
POST
quai_quaiToQi

본문

application/json
jsonrpc
enum<string>
필수
사용 가능한 옵션:
2.0
예시:

"2.0"

method
enum<string>
필수

The name of the method to be invoked.

사용 가능한 옵션:
quai_quaiToQi
예시:

"quai_quaiToQi"

params
string[]
필수

The amount of Quai in Wei to return the expected Qi on conversion for and the block number.

Required array length: 2 elements
예시:
id
integer
필수

A unique identifier for the request.

예시:

1

응답

200 - application/json

Successful response

jsonrpc
string
예시:

"2.0"

result
string

The amount of Qi tokens the given amount of Quai can be converted to at the given block.

예시:

"0x3f28cb71571c7"

id
integer
예시:

1