eoscostarica / supply-chain-poc

Supply Chain Distribution Traceability using EOSIO NFTs :hospital:
MIT License
0 stars 2 forks source link

feat(api): add endpoint to burn assets #181

Closed adriexnet closed 3 years ago

adriexnet commented 3 years ago

Title

What does this PR do?

Steps to test

  1. navigate to http://localhost:9695/console/api-explorer
  2. run this mutation
    
    mutation {
    burn_assets(assets: ["4e621da3-fc2a-4f37-9539-037bd8f98a77"], description: "test") {
    assets
    trxid
    }
    }


#### CheckList

- [x] Follow proper Markdown format
- [x] The content is adequate
- [x] The content is available in both english and spanish
- [x] I Ran a spell check