Skip to navigation

Create a NEAR deposit_and_stake request

This endpoint creates an deposit_and_stake request for NEAR. This will deposit and stake the selected amount to the selected validator. Required role: RequestCreator.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
fromAddressIdstringRequiredformat: "uint64"
toValidatorAddressIdstringRequiredformat: "uint64"
Whitelisted validator's staking pool you want to stake on
amountstringRequired
feeLimitstringOptional
commentstringOptional
transactionReferencestringOptional
A client's reference that can then be used for reconciliation in the client's systems later

Response

A successful response.
resultobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error