From 1f1e7137d1aabf0bb805d64baebf2bb70441373f Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Wed, 13 Nov 2024 11:07:18 -0600 Subject: [PATCH] Add smart wallet contract support --- sdks/node-sdk/src/Client.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sdks/node-sdk/src/Client.ts b/sdks/node-sdk/src/Client.ts index a1eb69562..b84e1c37a 100644 --- a/sdks/node-sdk/src/Client.ts +++ b/sdks/node-sdk/src/Client.ts @@ -204,6 +204,15 @@ export class Client { void this.#innerClient.addSignature(signatureType, signatureBytes); } + async addScwSignature( + type: SignatureRequestType, + bytes: Uint8Array, + chainId: bigint, + blockNumber?: bigint, + ) { + return this.#innerClient.addScwSignature(type, bytes, chainId, blockNumber); + } + async applySignatures() { return this.#innerClient.applySignatureRequests(); }