PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/algosdk/dist/esm/src/client/v2/algod

Просмотр файла: statusAfterBlock.js

import JSONRequest from '../jsonrequest';
export default class StatusAfterBlock extends JSONRequest {
    constructor(c, intDecoding, round) {
        super(c, intDecoding);
        this.round = round;
        if (!Number.isInteger(round))
            throw Error('round should be an integer');
        this.round = round;
    }
    path() {
        return `/v2/status/wait-for-block-after/${this.round}`;
    }
}
//# sourceMappingURL=statusAfterBlock.js.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!