Auto generated doc
This commit is contained in:
parent
467985fb4a
commit
aeff15745d
1 changed files with 36 additions and 0 deletions
36
docs/build/rpc-api/wallet-rpc-api/burn_asset.md
vendored
Normal file
36
docs/build/rpc-api/wallet-rpc-api/burn_asset.md
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
Burn some owned amount of the coins for the given asset.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "burn_asset",
|
||||
"params": {
|
||||
"asset_id": "40fa6db923728b38962718c61b4dc3af1acaa1967479c73703e260dc3609c58d",
|
||||
"burn_amount": 10000000
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"asset_id": Id of the asset to burn
|
||||
"burn_amount": Amount to burn
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"result_tx": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"result_tx": Id of transaction that carries asset burn operation
|
||||
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue