createAndEstimateTransaction()
createAndEstimateTransaction()
Call Signature
function createAndEstimateTransaction<ParamsT, CreateFn>(createFn, extParams): Promise<Awaited<ReturnType<CreateFn>>>;Defined in: estimate.ts:25
Type Parameters
| Type Parameter |
|---|
ParamsT extends ITransactionExtResolved<IInteractExt> |
CreateFn extends (extParams) => Promise<TransactionInstruction[]> |
Parameters
| Parameter | Type |
|---|---|
createFn | CreateFn |
extParams | ParamsT |
Returns
Promise<Awaited<ReturnType<CreateFn>>>
Call Signature
function createAndEstimateTransaction<ParamsT, CreateFn>(
createFn,
extParams,
select): Promise<Awaited<ReturnType<CreateFn>>>;Defined in: estimate.ts:30
Type Parameters
| Type Parameter |
|---|
ParamsT extends ITransactionExtResolved<IInteractExt> |
CreateFn extends (extParams) => Promise<any> |
Parameters
| Parameter | Type |
|---|---|
createFn | CreateFn |
extParams | ParamsT |
select | (result) => TransactionInstruction[] |
Returns
Promise<Awaited<ReturnType<CreateFn>>>