Is it possible to use goal account marknonparticipating with Purestake.io REST API?
https://developer.algorand.org/docs/reference/cli/goal/account/marknonparticipating/
Is it possible to use goal account marknonparticipating with Purestake.io REST API?
https://developer.algorand.org/docs/reference/cli/goal/account/marknonparticipating/
You cannot use the features of goal
that require access to a node without running a node yourself (via goal node start
that is synced with the network).
What you can do however is the following:
goal
just to generate the nonparticipating transaction:goal account marknonparticipating -a ADDRESS --firstvalid CURRENT_ROUND -t transaction.tx
Note that you must replace CURRENT_ROUND
by the current round (use any block explorer for that purpose — https://developer.algorand.org/docs/community/#block-explorers)
goal clerk sign -i transaction.tx -o transaction.sig
curl -i -X POST -H "X-API-Key:APIKEY" -H "Content-Type:application/x-binary" -T transaction.sig https://testnet-algorand.api.purestake.io/ps2/v2/transactions