diff --git a/packages/kit-bg/src/providers/ProviderApiScdo.ts b/packages/kit-bg/src/providers/ProviderApiScdo.ts index 8f572643697..f9f0b9cca41 100644 --- a/packages/kit-bg/src/providers/ProviderApiScdo.ts +++ b/packages/kit-bg/src/providers/ProviderApiScdo.ts @@ -181,8 +181,9 @@ class ProviderApiScdo extends ProviderApiBase { } @providerApiMethod() - public scdo_sendTransaction(request: IJsBridgeMessagePayload) { - return this._signAndSendTransaction(request, true); + public async scdo_sendTransaction(request: IJsBridgeMessagePayload) { + const tx = await this._signAndSendTransaction(request, true); + return tx.Hash; } @providerApiMethod()