GET /checkStatus/<requestId>
Request to get the number of notarizations left.
Params
No params neede. Only authenticated request.
Return
The POST request return an object containing the follow properties:
Param | Type | Description |
---|---|---|
counter | number | Number of notarizations left |
Usage
const axios = require('axios');
const endpoint = https://pablock-api-dev.bcode.cloud
const authToken = '<your-token>'
const requestId = '<request-id>'
let {
status,
data,
} = await axios.get(`${this.endpoint}/notarizationsCoutner`, {
headers: {
Authorization: `Bearer ${this.authToken}`,
},
});
console.log(data.counter)