Preparing search index...
The search index is not available
Elements Hooks
Elements Hooks
useTransactions
Function useTransactions
use
Transactions
(
route
,
isTestnet
?
)
:
{
actions
:
Action
[]
;
groupedTransactions
:
Record
<
string
,
Action
[]
>
;
}
React hook to get the transactions in a grouped format from a route
Parameters
route
:
null
|
UseRouteResponse
&
{
messages
?:
SkipMsgV2
[]
|
SkipMsg
[]
;
}
Optional
isTestnet
:
boolean
Returns
{
actions
:
Action
[]
;
groupedTransactions
:
Record
<
string
,
Action
[]
>
;
}
actions
:
Action
[]
grouped
Transactions
:
Record
<
string
,
Action
[]
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Elements Hooks
Loading...
React hook to get the transactions in a grouped format from a route