Get all operations
number
GET //api/blockchain/operations/{id} HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Accept: */*
{
"details": {},
"externalId": "text",
"hash": [
"text"
],
"id": 1,
"operationStatus": 1,
"operationType": 1,
"statusMessage": [
{}
]
}
Get all operations
GET //api/blockchain/operations HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"details": {},
"externalId": "text",
"hash": [
"text"
],
"id": 1,
"operationStatus": 1,
"operationType": 1,
"statusMessage": [
{}
]
}
],
"offset": 1,
"page": 1,
"sort": "text",
"total": 1
}
Create blockchain operation
POST //api/blockchain/operations HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 253
{
"details": {
"address": "text",
"amount": "text",
"burnAmount": "text",
"burnToken": 1,
"mintAmount": "text",
"mintToken": 1,
"newOwnerAddress": "text",
"oldOwnerAddress": "text",
"owner": "text",
"threshold": 1,
"to": "text",
"token": 1
},
"externalId": "text",
"operationType": 1
}
{
"details": {},
"externalId": "text",
"hash": null,
"id": 1,
"operationStatus": 1,
"operationType": 1,
"statusMessage": [
{
"blockHash": "text",
"blockNumber": 1,
"byzantium": true,
"confirmations": 1,
"contractAddress": null,
"cumulativeGasUsed": {
"hex": "text",
"type": "text"
},
"effectiveGasPrice": {
"hex": "text",
"type": "text"
},
"from": "text",
"gasUsed": {
"hex": "text",
"type": "text"
},
"logs": [
{
"address": "text",
"blockHash": "text",
"blockNumber": 1,
"data": "text",
"logIndex": 1,
"topics": [
"text"
],
"transactionHash": "text",
"transactionIndex": 1
}
],
"logsBloom": "text",
"status": 1,
"to": "text",
"transactionHash": "text",
"transactionIndex": 1,
"type": 1,
"walletAddress": "text"
}
]
}