Class TransactionBuilderGroup
Properties
Readonly
builders
Readonly
options
Methods
build
- build(context: Pick<Context, "payer" | "transactions">): Transaction[]
-
buildAndSign
- buildAndSign(context: Pick<Context, "payer" | "transactions" | "rpc">): Promise<Transaction[]>
-
Parameters
-
context: Pick<Context, "payer" | "transactions" | "rpc">
buildWithLatestBlockhash
- buildWithLatestBlockhash(context: Pick<Context, "payer" | "transactions" | "rpc">): Promise<Transaction[]>
-
Parameters
-
context: Pick<Context, "payer" | "transactions" | "rpc">
isParallel
- isParallel(): boolean
-
Returns boolean
merge
- merge(): TransactionBuilder
-
parallel
- parallel(): TransactionBuilderGroup
-
runAll
- runAll<T, U>(array: T[], fn: ((item: T, index: number, array: T[]) => Promise<U>)): Promise<U[]>
-
Parameters
-
array: T[]
-
fn: ((item: T, index: number, array: T[]) => Promise<U>)
-
- (item: T, index: number, array: T[]): Promise<U>
-
Parameters
-
item: T
-
index: number
-
array: T[]
Returns Promise<U>
Returns Promise<U[]>
send
- send(context: Pick<Context, "payer" | "transactions" | "rpc">, options?: RpcSendTransactionOptions): Promise<Uint8Array[]>
-
Parameters
-
context: Pick<Context, "payer" | "transactions" | "rpc">
-
Returns Promise<Uint8Array[]>
sequential
- sequential(): TransactionBuilderGroup
-
setLatestBlockhash
- setLatestBlockhash(context: Pick<Context, "rpc">): Promise<TransactionBuilderGroup>
-