Skip to main content
Version: 0.96.0

Type Alias: SVMExtraArgsV1

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

Defined in: extra-args.ts:101

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:105

Bitmap indicating which accounts are writable.


accounts

accounts: string[]

Defined in: extra-args.ts:111

Additional account addresses required for execution.


allowOutOfOrderExecution

allowOutOfOrderExecution: boolean

Defined in: extra-args.ts:107

Whether to allow out-of-order message execution.


computeUnits

computeUnits: bigint

Defined in: extra-args.ts:103

Compute units for Solana execution.


tokenReceiver

tokenReceiver: string

Defined in: extra-args.ts:109

Token receiver address on Solana.