Skip to main content
Version: 1.14.0

Type Alias: SVMExtraArgsV1

SVMExtraArgsV1 = { accountIsWritableBitmap: bigint; accounts: string[]; allowOutOfOrderExecution: boolean; computeUnits: bigint; tokenReceiver: string; }

Defined in: extra-args.ts:146

Solana (SVM) extra arguments version 1.

Example​

TypeScript
const args: SVMExtraArgsV1 = {
computeUnits: 200_000n,
accountIsWritableBitmap: 0n,
allowOutOfOrderExecution: true,
tokenReceiver: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA',
accounts: [],
}

Properties​

accountIsWritableBitmap​

accountIsWritableBitmap: bigint

Defined in: extra-args.ts:150

Bitmap indicating which accounts are writable.


accounts​

accounts: string[]

Defined in: extra-args.ts:156

Additional account addresses required for execution.


allowOutOfOrderExecution​

allowOutOfOrderExecution: boolean

Defined in: extra-args.ts:152

Whether to allow out-of-order message execution.


computeUnits​

computeUnits: bigint

Defined in: extra-args.ts:148

Compute units for Solana execution.


tokenReceiver​

tokenReceiver: string

Defined in: extra-args.ts:154

Token receiver address on Solana.