type SmartWalletActions = {
requestAccount: (
params?: RequestAccountParams,
) => Promise<RequestAccountResult>;
prepareCalls: (params: PrepareCallsParams) => Promise<PrepareCallsResult>;
sendPreparedCalls: (
params: SendPreparedCallsParams,
) => Promise<SendPreparedCallsResult>;
sendCalls: (params: SendCallsParams) => Promise<SendCallsResult>;
listAccounts: (params: ListAccountsParams) => Promise<ListAccountsResult>;
signSignatureRequest: (
params: SignSignatureRequestParams,
) => Promise<SignSignatureRequestResult>;
signPreparedCalls: (
params: SignPreparedCallsParams,
) => Promise<SignPreparedCallsResult>;
signMessage: (params: SignMessageParams) => Promise<Hex>;
signTypedData: (params: SignTypedDataParams) => Promise<Hex>;
grantPermissions: (
params: GrantPermissionsParams,
) => Promise<GrantPermissionsResult>;
getCallsStatus: (
params: GetCallsStatusParameters,
) => Promise<GetCallsStatusReturnType>;
waitForCallsStatus: (
params: WaitForCallsStatusParameters,
) => Promise<WaitForCallsStatusReturnType>;
getCapabilities: (
params?: GetCapabilitiesParams | undefined,
) => Promise<GetCapabilitiesResult>;
undelegateAccount: (
params?: UndelegateAccountParams,
) => Promise<UndelegateAccountResult>;
};Defined in: packages/wallet-apis/src/decorators/smartWalletActions.ts:67
| Property | Type |
|---|---|
( | |
( | |
( | |
( | |
( | |
( | |
( | |
( | |
( | |
( | |
( | |
( | |
( | |
( |