quai_calculateConversionAmount
转换
calculateConversionAmount
Returns the amount of Quai in Wei or Qi in Qits left after converting an amount of Qi in Qits to Quai in Wei at the current block exchange rate and after applying the appropriate slip.
POST
quai_calculateConversionAmount
Documentation Index
Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
Use this file to discover all available pages before exploring further.
请求体
application/json
可用选项:
2.0 示例:
"2.0"
The name of the method to be invoked.
可用选项:
quai_qiToQuai 示例:
"quai_qiToQuai"
The transaction data to know the type of conversion and amount used for the conversion.
Required array length:
1 element示例:
[
{
"from": "0x03b1b2fcbaa6e4a3b44ac348b00ed0a68546d26b",
"to": "0x1856f346b67615e9acb4dc3da6ebceb2bc2f8940",
"value": "0xe3424c93"
}
]
A unique identifier for the request.
示例:
1
