'Delete keys via sandbox_patch_state
Is it possible to delete a key from state via sandbox_patch_state? I've tried this, but it only set values to empty string.
http http://localhost:3030 id=1 jsonrpc=2.0 method=sandbox_patch_state \
'params:={"records":[
{
"Data":{
"account_id":"test.near",
"data_key":"<some-key>",
"value": ""
}
}
]}'
"value":null also doesn't work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
