Skip to content

Interface: JobsBatchTransactionResult

A BatchTransactionResult enriched with the decoded jobs instructions it contained. decoded[i] corresponds to instructions[i] and is undefined for any instruction that is not a recognised jobs instruction.

Use it to recover accounts a transaction created or acted on — e.g. the job and run addresses minted by each list — without a separate *Many helper.

Extends

Properties

PropertyTypeDescriptionInherited from
accountsRecord<string, Address[]>All accounts the transaction's instructions referenced, grouped by their (pluralised) role name across every instruction in the transaction — e.g. accounts.jobs is every job address, accounts.runs every run. This is the quick "just give me the created jobs" view; use decoded together with groupIndices when you need to tie an account back to a specific input.-
confirmedbooleanConvenience flag: true when status is 'fulfilled'.BatchTransactionResult.confirmed
decoded(DecodedJobsInstruction | undefined)[]Each instruction in the transaction, decoded to its name and labelled accounts.-
error?unknownThe error that occurred, present when status is 'rejected'.BatchTransactionResult.error
groupIndicesnumber[]The indices of the original groups this transaction carried, in order — the bridge back from a per-transaction result to the per-group input you submitted. For example groupIndices: [6, 7] means this transaction packed groups[6] and groups[7], so both share this transaction's status/signature/error. When every group is a single instruction, groupIndices[k] corresponds to instructions[k].BatchTransactionResult.groupIndices
instructionsInstruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]The instructions that made up this transaction (the packed bucket).BatchTransactionResult.instructions
signature?SignatureThe transaction signature, present when status is 'fulfilled'.BatchTransactionResult.signature
status"fulfilled" | "rejected"Whether the transaction was sent and confirmed successfully.BatchTransactionResult.status