diff --git a/packages/extended-sdk/src/client/index.ts b/packages/extended-sdk/src/client/index.ts index 6994d182..4b0d4bf4 100644 --- a/packages/extended-sdk/src/client/index.ts +++ b/packages/extended-sdk/src/client/index.ts @@ -51,4 +51,8 @@ export class ExtendedSDKClient extends VocdoniSDKClient { return blockInfo.reduce((prev, cur) => prev.concat(cur), []).reverse() }) } + + blockToDate = (height: number): ReturnType => { + return ChainAPI.blockToDate(this.url, height) + } }