Preparing search index...
The search index is not available
Streamflow SDK
Streamflow SDK
@streamflow/common
solana
createAndEstimateTransaction
Function createAndEstimateTransaction
createAndEstimateTransaction
<
ParamsT
extends
ITransactionSolanaExtResolved
<
IInteractSolanaExt
>
,
CreateFn
extends
(
extParams
:
ParamsT
)
=>
Promise
<
TransactionInstruction
[]
>
,
>
(
createFn
:
CreateFn
,
extParams
:
ParamsT
,
)
:
Promise
<
Awaited
<
ReturnType
<
CreateFn
>
>
>
Type Parameters
ParamsT
extends
ITransactionSolanaExtResolved
<
IInteractSolanaExt
>
CreateFn
extends
(
extParams
:
ParamsT
)
=>
Promise
<
TransactionInstruction
[]
>
Parameters
createFn
:
CreateFn
extParams
:
ParamsT
Returns
Promise
<
Awaited
<
ReturnType
<
CreateFn
>
>
>
createAndEstimateTransaction
<
ParamsT
extends
ITransactionSolanaExtResolved
<
IInteractSolanaExt
>
,
CreateFn
extends
(
extParams
:
ParamsT
)
=>
Promise
<
any
>
,
>
(
createFn
:
CreateFn
,
extParams
:
ParamsT
,
select
:
(
result
:
Awaited
<
ReturnType
<
CreateFn
>
>
)
=>
TransactionInstruction
[]
,
)
:
Promise
<
Awaited
<
ReturnType
<
CreateFn
>
>
>
Type Parameters
ParamsT
extends
ITransactionSolanaExtResolved
<
IInteractSolanaExt
>
CreateFn
extends
(
extParams
:
ParamsT
)
=>
Promise
<
any
>
Parameters
createFn
:
CreateFn
extParams
:
ParamsT
select
:
(
result
:
Awaited
<
ReturnType
<
CreateFn
>
>
)
=>
TransactionInstruction
[]
Returns
Promise
<
Awaited
<
ReturnType
<
CreateFn
>
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Streamflow SDK
Loading...