Skip to main content
Version: 1.0

Schedule Leave Nominators

Unstakes all the staked AVT, removing it from earning further staking rewards and (after a period) allowing it to be withdrawn back to the free balance


HEADERS Content-Type: application/json Authorization: bearer <awtToken>

REQUEST PARAMS relayer [required] - a string representing the relayer's SS58 address user [required] - a string representing the user's SS58 address payer [required] - a string representing the payer's SS58 address nonce [required] - string integer value of the current proxy nonce of type 'staking' proxySignature [required] - a proof signed by the user allowing the transaction to be proxied feePaymentSignature [required] - a proof signed by the payer allowing the relayer fees to be paid paymentNonce [required] - string integer value of the current payment nonce of the payer

curl https://AVN_GATEWAY_URL/send 
-H "Content-Type: application/json"
-H "Authorization: bearer <awtToken>"
-d '{"jsonrpc":"2.0", "method":"proxyWithdrawUnlocked", "params":{"relayer": "5FbUQ2kJ...F3TeGyu6UoZaryTh",
"user": "5HMYezk4gRAoe...8XQp7DGZM8rSTyf", "payer": "5HMYezk4gRAoe...8XQp7DGZM8rSTyf", "nonce": "116",
"proxySignature": "0xd0e71d2e58d59ba76197bb98693...14f4eabb4fd6e23a48c5c1dac081ab7457c8f8b4bece8e82",
"feePaymentSignature": "0x861dc49610bbe0ee12d871388bddc8a...5313c6bbee8d04bf66e415072039a10ef0470e0ae034b589",
"paymentNonce": "10075"}, "id":1}'

RESULT FIELDS VALUE - a request ID that can be queried for the transaction's status