CDP SDK TypeScript - v1.31.1
Preparing search index...
accounts/evm/types
NetworkSpecificSmartAccountActions
Type Alias NetworkSpecificSmartAccountActions<Network>
NetworkSpecificSmartAccountActions
:
Prettify
<
{
sendUserOperation
:
<
const
callData
extends
unknown
[]
>
(
options
:
Omit
<
SendUserOperationOptions
<
callData
>
,
"smartAccount"
|
"network"
,
>
,
)
=>
Promise
<
SendUserOperationReturnType
>
;
waitForUserOperation
:
(
options
:
Omit
<
WaitForUserOperationOptions
,
"smartAccountAddress"
|
"network"
,
>
,
)
=>
Promise
<
WaitForUserOperationReturnType
>
;
getUserOperation
:
(
options
:
Omit
<
GetUserOperationOptions
,
"smartAccount"
|
"network"
>
,
)
=>
Promise
<
UserOperation
>
;
}
&
(
Network
extends
TransferNetworks
?
{
transfer
:
(
options
:
Omit
<
SmartAccountTransferOptions
,
"network"
>
,
)
=>
Promise
<
SendUserOperationReturnType
>
;
}
:
EmptyObject
)
&
(
Network
extends
ListTokenBalancesNetworks
?
{
listTokenBalances
:
(
options
:
Omit
<
ListTokenBalancesOptions
,
"address"
|
"network"
>
,
)
=>
Promise
<
ListTokenBalancesResult
>
;
}
:
EmptyObject
)
&
(
Network
extends
RequestFaucetNetworks
?
{
requestFaucet
:
(
options
:
Omit
<
RequestFaucetOptions
,
"address"
|
"network"
>
,
)
=>
Promise
<
RequestFaucetResult
>
;
}
:
EmptyObject
)
&
(
Network
extends
QuoteFundNetworks
?
{
quoteFund
:
(
options
:
Omit
<
EvmQuoteFundOptions
,
"address"
|
"network"
>
,
)
=>
Promise
<
EvmQuote
>
;
}
:
EmptyObject
)
&
(
Network
extends
FundNetworks
?
{
fund
:
(
options
:
Omit
<
EvmFundOptions
,
"address"
|
"network"
>
,
)
=>
Promise
<
FundOperationResult
>
;
waitForFundOperationReceipt
:
(
options
:
Omit
<
WaitForFundOperationOptions
,
"network"
>
,
)
=>
Promise
<
WaitForFundOperationResult
>
;
}
:
EmptyObject
)
&
(
Network
extends
QuoteSwapNetworks
?
{
quoteSwap
:
(
options
:
Omit
<
SmartAccountQuoteSwapOptions
,
"network"
>
,
)
=>
Promise
<
SmartAccountQuoteSwapResult
>
;
}
:
EmptyObject
)
&
(
Network
extends
SwapNetworks
?
{
swap
:
(
options
:
DistributedOmit
<
SmartAccountSwapOptions
,
"network"
>
,
)
=>
Promise
<
SmartAccountSwapResult
>
;
}
:
EmptyObject
)
&
(
Network
extends
SpendPermissionNetworks
?
{
__experimental_useSpendPermission
:
(
options
:
Omit
<
UseSpendPermissionOptions
,
"network"
>
,
)
=>
Promise
<
SendUserOperationReturnType
>
;
}
:
EmptyObject
)
,
>
Helper type for network-specific smart account actions
Type Parameters
Network
extends
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
CDP SDK TypeScript - v1.31.1
Loading...
Helper type for network-specific smart account actions