Get all owner tokens
OK
const response = await fetch('//api.client.nbcgate.tech/api/owner/currency/tokens', { method: 'GET', headers: {}, }); const data = await response.json();
{ "tokens": [ { "id": 0, "tokenID": 0, "tokenName": "text" } ] }
Add token to owner
data
No Content
const response = await fetch('//api.client.nbcgate.tech/api/owner/currency/tokens', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify([ {} ]), }); const data = await response.json();
{ "errors": [ { "code": 0, "field": "text", "message": "text" } ], "message": "text", "statusCode": 0 }
Delete owner token
const response = await fetch('//api.client.nbcgate.tech/api/owner/currency/tokens', { method: 'DELETE', headers: { "Content-Type": "application/json" }, body: JSON.stringify([ {} ]), }); const data = await response.json();