IInteractExt
IInteractExt
Defined in: types.ts:54
Additional parameter for Solana Transaction processing.
computePrice - compute price per CU in micro-lamports to be set in a transaction - priority fee, accepts:
- a constant number;
- a callable that returns a price for a built transaction;
computeLimit - compute limit in CUs to set for a transaction,
computePriceis paid per every allocated CU, accepts: - a constant number;
- a callable that returns a CU limit for a built transaction;
autoSimulate- will be unwrapped byunwrapExecutionParamsand converted to a callable that runs a simulation to estimate CUs and set a limit with some margin; feePayer - account that will be set as sol fee payer in instructions that accept such account, i.e. ATA creation:- should be only when building instructions via
preparemethods, as tx executing methods will fail without a signer; - currently supported only when claiming an Airdrop;
Extends
Properties
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
computeLimit? | | number | ComputeLimitEstimate | "autoSimulate" | ITransactionExt.computeLimit | packages/common/solana/types.ts:34 |
computePrice? | | number | ComputePriceEstimate | ITransactionExt.computePrice | packages/common/solana/types.ts:33 |
feePayer? | PublicKey | ITransactionExt.feePayer | packages/common/solana/types.ts:35 |
invoker | object | - | packages/common/solana/types.ts:55 |
invoker.publicKey | string | PublicKey | - | packages/common/solana/types.ts:56 |