Withdrawals
Last updated
Last updated
Returns an unsigned transaction to begin unstaking a stake account.
Returns an unsigned transaction to withdraw SOL from a fully deactivated stake account.
POST
/api/v1/deactivate
Submits a deactivate request to generate an unsigned transaction. This transaction needs to be signed by the private key of the wallet address and broadcasted to the network to trigger deactivation of stake accounts
api-key*
String
API Key provided by Luganodes
validatorPubKey*
String
Public address of validator
walletPubKey*
String
Wallet address
stakeAccountPubKey*
String
Public address of user stake account
validatorPubKey
Public address of validator
String
walletPubKey
Public address of user wallet
String
stakeAccountPubKey
Public address of stake account
String
unsignedTransactionBase64
Unsigned transaction which needs to be signed with the private key of the user wallet
String
POST
/api/v1/withdraw
Submits a withdraw request to generate an unsigned transaction. This transaction needs to be signed by the private key of the wallet address and broadcasted to the network to trigger withdrawal of delegated SOL.
api-key*
String
API Key provided by Luganodes
validatorPubKey*
String
Public address of validator
walletPubKey*
String
Wallet address
stakeAccountPubKey*
String
Public address of user stake account
amount*
Number
SOL to withdraw in lamports. 1 SOL = 10^9 Lamports
validatorPubKey
Public address of validator
String
walletPubKey
Public address of user wallet
String
stakeAccountPubKey
Public address of stake account
String
unsignedTransactionBase64
Unsigned transaction which needs to be signed with the private key of the user wallet
String
amount
Amount to be withdrawn in lamports 1 SOL = 10^9 Lamports
Number