PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/algosdk/dist/esm/src/client/v2/algod
Просмотр файла: getBlockHash.js
import JSONRequest from '../jsonrequest';
export default class GetBlockHash extends JSONRequest {
constructor(c, intDecoding, roundNumber) {
super(c, intDecoding);
if (!Number.isInteger(roundNumber))
throw Error('roundNumber should be an integer');
this.round = roundNumber;
}
path() {
return `/v2/blocks/${this.round}/hash`;
}
}
//# sourceMappingURL=getBlockHash.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!