Wallet Lock Interface
UnlockTry API
POST
chain_tvm
(Unlock)
Unlocking can only be performed by the owner after the end date.
Before submitting unlock, check whether the end date has passed. Otherwise, return that unlocking is not allowed.
If the end date has not passed, the unlock button is disabled.
Example Code
{
"jsonrpc": "3.0",
"method": "chain_tvm",
"params": [
"opcode=token&subcode=unlock",
"encryp=none"
],
"id": "aa80aa0c6bb0c7d81ac7e5b3"
}{
"jsonrpc": "3.0",
"id": "aa80aa0c6bb0c7d81ac7e5b3",
"result": {
"ret": "0",
"err": "",
"content": {
"txhash": "0x6885997ca51fa08ffded573088b0c5c294652ec842ac7f3182d32e30ce261025"
}
}
}