API
Čeština
Čeština
  • Úvod
  • Požadavky na používání rozhraní API
  • Autorizace zákazníka
  • Vytvoření faktury a provedení platby
  • API reference
    • Currency
      • Chain
      • Coin
      • Tokens
    • Api
      • Balance
        • Coin
        • Fiat
        • General
        • State
          • User
        • Available
          • Off
          • Set
        • Default
          • Off
          • Set
      • Country
        • Id
        • Sepa
      • Notification
        • Unread
      • Product
        • Favorite
        • Onboarding
      • Referral
        • Statistics
      • Subscribe
        • Info
      • Support
      • Tfa
        • Otp
        • Type
      • Timezone
        • Set
      • Transfer
        • Exchange
          • Course
        • Check
          • Recipient
      • Wallet
      • Blockchain
        • Multisigs
        • Operations
          • Types
      • Docs
        • List
          • Status
        • Profile
          • Contract
          • Questionnaire
            • Confirm
        • Show
      • Owner
        • Currency
          • Tokens
        • Info
          • Avatar
        • Subtype
        • Type
      • Pay
        • M pos
          • All
          • Statistic
          • Statistics
          • Status
            • Available
        • Pay form
          • Info
          • Statistic
          • Statistics
          • Status
            • Available
        • Pay link
          • Coins
          • Info
          • Return
          • Reusable
          • Search
          • Statistic
          • Statistics
          • Temporary
          • Status
            • Available
        • Business wallet
          • Statistic
          • Statistics
      • Personal
        • Email
          • Otp
            • Check
        • Psw
          • Otp
            • Check
      • Receive
        • Create
      • Report
        • Excel
      • User
        • Delete
        • Info
          • Avatar
        • Invite
          • List
          • Role
          • Send
        • List
      • Withdrawal
        • Sepa
          • Commission
          • Template
    • Auth
      • Log out
      • Qrcode
      • Sign in
        • Psw
          • Check
      • Recovery
        • Psw
          • Otp
            • Check
      • Sign up
        • Check
        • Email
          • Check code
          • Get code
        • Owner
          • Update
        • Pss
          • Set
        • User
          • Update
      • Token
        • Check
        • Refresh
      • Tfa
        • Otp
          • Email
    • Invoice
      • Create
      • Pay
      • Receive
    • Tfa
      • Reset
      • Otp
        • Reset
          • Id
    • External
      • Transfer
        • Info
        • Check
          • Send
    • Notify
      • Compliance
        • Identify
    • Paylink
      • External environment
        • Info
        • M pos prepay
        • Pay form prepay
  • Specification
Powered by GitBook
On this page
  1. API reference
  2. Api
  3. Blockchain

Operations

PreviousMultisigsNextTypes

Get all operations

get

Get all operations

Authorizations
Path parameters
idstringRequired

number

Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
get
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": [
    {}
  ]
}
  • GETGet all operations
  • POSTCreate blockchain operation
  • GETGet all operations

Get all operations

get

Get all operations

Authorizations
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
get
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

Create blockchain operation

Authorizations
Body
externalIdstringOptional
operationTypeintegerOptional
Responses
201
Created
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
post
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"
    }
  ]
}