Create a NEAR unstake request
This endpoint creates an unstake request for NEAR. This will unstaked the selected amount from the selected validator. These funds will be withdrawable in 36 to 48h. Required role: RequestCreator.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
fromAddressId
uint64; The ID of the source address for funds.
toValidatorAddressId
uint64; Whitelisted validator's staking pool you want to unstake from
amount
numeric; Amount in the smallest currency unit, based on the currency decimals. Example: 1500000000000000000 WEI (smallest ETH unit) corresponds to 1.5 ETH (ETH has 18 decimals places)
feeLimit
numeric; Maximum amount of fees to be paid for the transaction.
comment
A reconciliation note can be given when initiating a request and this will be included in transaction history.
transactionReference
A client's reference that can then be used for reconciliation in the client's systems later
Response
A successful response.
result
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error