swap_simSwapTaoForAlpha
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Simulates swapping Tao tokens to Alpha and returns the resulting output breakdown.
Body
application/json
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
methodstringswap_simSwapTaoForAlpharequiredThe RPC method to invoke.
paramsArray<integer>requiredArray containing two integer elements: the pool ID and the amount of Tao to swap (in RAO, the smallest unit).
idintegerrequiredRequest identifier.
Response
200OK
Successful response with the simulation result.