| Field | Type | Description |
|---|---|---|
| owner_address | string | Account address |
| resource | string | Resource type |
| receiver_address | string | Resource receiving address |
| balance | Int64 | The number of canceled delegate resource shares, the unit is ram |
{
"owner_address": "PHqgRM8giN6Nr9DgA1FybUjKFwd79cxhyp",
"receiver_address": "PSzTrL9rUT9ak5MZbResVqUV9Ztqz83PAA",
"balance": 1000000,
"resource": "ENERGY",
"lock": false,
"visible": true
}
curl --location --request POST '/wallet/undelegateresource' \
--header 'Content-Type: application/json' \
--data-raw '{
"owner_address": "PHqgRM8giN6Nr9DgA1FybUjKFwd79cxhyp",
"receiver_address": "PSzTrL9rUT9ak5MZbResVqUV9Ztqz83PAA",
"balance": 1000000,
"resource": "ENERGY",
"lock": false,
"visible": true
}'{}