Class TransactionBuilderGroup
Properties
Readonly
builders
Readonly
options
Methods
build
- build(context: Pick<Context, "payer" | "transactions">): Transaction[]
-
Parameters
-
context: Pick<Context, "payer" | "transactions">
buildAndSign
- buildAndSign(context: Pick<Context, "rpc" | "payer" | "transactions">): Promise<Transaction[]>
-
Parameters
-
context: Pick<Context, "rpc" | "payer" | "transactions">
buildWithLatestBlockhash
- buildWithLatestBlockhash(context: Pick<Context, "rpc" | "payer" | "transactions">): Promise<Transaction[]>
-
Parameters
-
context: Pick<Context, "rpc" | "payer" | "transactions">
isParallel
- isParallel(): boolean
-
Returns boolean
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, "rpc" | "payer" | "transactions">, options?: RpcSendTransactionOptions): Promise<Uint8Array[]>
-
Parameters
-
context: Pick<Context, "rpc" | "payer" | "transactions">
-
Returns Promise<Uint8Array[]>