Trustless Work
Home

Escrows Table by Role

Table layout to explore escrows by role with sorting and filtering. This component contains a detailed view of the escrow, including the role, status, and actions.

EscrowsTableRoleFiltersSortingPaginationNEW

Installation

Before installing the block, make sure you have the required providers and blocks. You can read more in the dependencies section based on the block you are using.

1npx trustless-work add escrows/escrows-by-role/table

Filters

-
Active
OnChain
Title
Amount
Actions

Connect your wallet

To continue, connect your wallet and authorize the application.

Page 1
Important Notes
  • The trustless work hook used in this block requires a specific role. In [escrows-by-role/table/EscrowsTable.tsx = const activeRole], the role is mocked with a filter for testing purposes. You should replace it with the role that best fits your use case.
  • If you don't want to use the escrowProvider context, you'll need to provide the payload through an alternative method.
Required Providers
<ReactQueryClientProvider />
<TrustlessWorkProvider />
<WalletProvider />
<EscrowProvider />
<EscrowAmountProvider />
<EscrowDialogsProvider />