Umi — API References - v1.3.0
Preparing search index...
umi
TransactionBuilderGroup
Class TransactionBuilderGroup
Index
Constructors
constructor
Properties
builders
options
Methods
add
append
build
build
And
Sign
build
With
Latest
Blockhash
filter
is
Parallel
map
merge
parallel
prepend
run
All
send
send
And
Confirm
sequential
set
Latest
Blockhash
Constructors
constructor
new
TransactionBuilderGroup
(
builders
?:
TransactionBuilder
[]
,
options
?:
TransactionBuilderGroupOptions
,
)
:
TransactionBuilderGroup
Parameters
builders
:
TransactionBuilder
[]
= []
options
:
TransactionBuilderGroupOptions
= {}
Returns
TransactionBuilderGroup
Properties
Readonly
builders
builders
:
TransactionBuilder
[]
= []
Readonly
options
options
:
TransactionBuilderGroupOptions
= {}
Methods
add
add
(
builder
:
TransactionBuilder
|
TransactionBuilder
[]
)
:
TransactionBuilderGroup
Parameters
builder
:
TransactionBuilder
|
TransactionBuilder
[]
Returns
TransactionBuilderGroup
append
append
(
builder
:
TransactionBuilder
|
TransactionBuilder
[]
,
)
:
TransactionBuilderGroup
Parameters
builder
:
TransactionBuilder
|
TransactionBuilder
[]
Returns
TransactionBuilderGroup
build
build
(
context
:
Pick
<
Context
,
"transactions"
|
"payer"
>
)
:
Transaction
[]
Parameters
context
:
Pick
<
Context
,
"transactions"
|
"payer"
>
Returns
Transaction
[]
build
And
Sign
buildAndSign
(
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
,
)
:
Promise
<
Transaction
[]
>
Parameters
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
Returns
Promise
<
Transaction
[]
>
build
With
Latest
Blockhash
buildWithLatestBlockhash
(
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
,
)
:
Promise
<
Transaction
[]
>
Parameters
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
Returns
Promise
<
Transaction
[]
>
filter
filter
(
fn
:
(
value
:
TransactionBuilder
,
index
:
number
,
array
:
TransactionBuilder
[]
,
)
=>
unknown
,
)
:
TransactionBuilderGroup
Parameters
fn
:
(
value
:
TransactionBuilder
,
index
:
number
,
array
:
TransactionBuilder
[]
,
)
=>
unknown
Returns
TransactionBuilderGroup
is
Parallel
isParallel
()
:
boolean
Returns
boolean
map
map
(
fn
:
(
builder
:
TransactionBuilder
,
index
:
number
,
array
:
TransactionBuilder
[]
,
)
=>
TransactionBuilder
,
)
:
TransactionBuilderGroup
Parameters
fn
:
(
builder
:
TransactionBuilder
,
index
:
number
,
array
:
TransactionBuilder
[]
,
)
=>
TransactionBuilder
Returns
TransactionBuilderGroup
merge
merge
()
:
TransactionBuilder
Returns
TransactionBuilder
parallel
parallel
()
:
TransactionBuilderGroup
Returns
TransactionBuilderGroup
prepend
prepend
(
builder
:
TransactionBuilder
|
TransactionBuilder
[]
,
)
:
TransactionBuilderGroup
Parameters
builder
:
TransactionBuilder
|
TransactionBuilder
[]
Returns
TransactionBuilderGroup
run
All
runAll
<
T
,
U
>
(
array
:
T
[]
,
fn
:
(
item
:
T
,
index
:
number
,
array
:
T
[]
)
=>
Promise
<
U
>
,
)
:
Promise
<
U
[]
>
Type Parameters
T
U
Parameters
array
:
T
[]
fn
:
(
item
:
T
,
index
:
number
,
array
:
T
[]
)
=>
Promise
<
U
>
Returns
Promise
<
U
[]
>
send
send
(
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
,
options
?:
RpcSendTransactionOptions
,
)
:
Promise
<
TransactionSignature
[]
>
Parameters
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
options
:
RpcSendTransactionOptions
= {}
Returns
Promise
<
TransactionSignature
[]
>
send
And
Confirm
sendAndConfirm
(
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
,
options
?:
TransactionBuilderSendAndConfirmOptions
,
)
:
Promise
<
{
result
:
RpcConfirmTransactionResult
;
signature
:
TransactionSignature
}
[]
,
>
Parameters
context
:
Pick
<
Context
,
"transactions"
|
"rpc"
|
"payer"
>
options
:
TransactionBuilderSendAndConfirmOptions
= {}
Returns
Promise
<
{
result
:
RpcConfirmTransactionResult
;
signature
:
TransactionSignature
}
[]
,
>
sequential
sequential
()
:
TransactionBuilderGroup
Returns
TransactionBuilderGroup
set
Latest
Blockhash
setLatestBlockhash
(
context
:
Pick
<
Context
,
"rpc"
>
,
)
:
Promise
<
TransactionBuilderGroup
>
Parameters
context
:
Pick
<
Context
,
"rpc"
>
Returns
Promise
<
TransactionBuilderGroup
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
builders
options
Methods
add
append
build
build
And
Sign
build
With
Latest
Blockhash
filter
is
Parallel
map
merge
parallel
prepend
run
All
send
send
And
Confirm
sequential
set
Latest
Blockhash
Umi — API References - v1.3.0
Loading...