Appearance
Documentation / react-auth / useAbstractSmartWallets
Function: useAbstractSmartWallets()
useAbstractSmartWallets():
Object
This is ONLY for the cross app transact screen and should eventually be unified with our other smart wallet wrapper logic.
Returns
Object
sendTransaction
sendTransaction: (
fromAddress
,sendEip712TransactionParams
,calls
,providerId
,uiOptions
) =>Promise
<`0x${string}`>Parameters
• fromAddress:
Object
• fromAddress.address: `0x${string}`
• sendEip712TransactionParams:
SendEip712TransactionParameters
&FactoryDeps
• calls:
Call
[]• providerId:
string
• uiOptions:
SendTransactionModalUIOptions
Returns
Promise
<`0x${string}`>