curl -X DELETE "https://yournonciinstance.com/nonce/delete/<nonce_id>" \
-H "Authorization: Bearer <secret>"
await nonci.deleteNonceById(<nonce_id>);
{
"message": "Nonce deleted successfully",
"signature": "2kUK4LckoY28CGbubAT8hT7jjEKgkA6p5NqfJJRyHMd43VRpWLSiMhyCFoQrRRWwamWwsZbR6vAUUkRcoWoXxP3B"
}
Usage
Delete Nonce
Delete a nonce
curl -X DELETE "https://yournonciinstance.com/nonce/delete/<nonce_id>" \
-H "Authorization: Bearer <secret>"
await nonci.deleteNonceById(<nonce_id>);
{
"message": "Nonce deleted successfully",
"signature": "2kUK4LckoY28CGbubAT8hT7jjEKgkA6p5NqfJJRyHMd43VRpWLSiMhyCFoQrRRWwamWwsZbR6vAUUkRcoWoXxP3B"
}
Used nonce accounts can be deleted once they are used to claim the rent back.
If you want to delete all used nonces at once, you can use the bulk delete endpoint -