diff --git a/infra/rooch-portal-v2/src/sections/assets/components/ordinal-list-card.tsx b/infra/rooch-portal-v2/src/sections/assets/components/ordinal-list-card.tsx index 37399a0aa8..26c9c91725 100644 --- a/infra/rooch-portal-v2/src/sections/assets/components/ordinal-list-card.tsx +++ b/infra/rooch-portal-v2/src/sections/assets/components/ordinal-list-card.tsx @@ -6,6 +6,8 @@ import { useRoochClientQuery } from '@roochnetwork/rooch-sdk-kit'; import { Box, Card, Skeleton, CardHeader, Typography, CardContent } from '@mui/material'; import { EmptyContent } from 'src/components/empty-content/empty-content'; +import { shortAddress } from "../../../utils/address"; +import { fNumber } from "../../../utils/format-number"; export default function BBLlList({ address }: { address: string }) { const [paginationModel, setPaginationModel] = useState({ page: 0, pageSize: 10 }); @@ -35,6 +37,10 @@ export default function BBLlList({ address }: { address: string }) { object_type: "0x4::bbn::BBNStakeSeal", }, }, + queryOption: { + decode: true, + showDisplay: true + }, cursor: queryOptions.cursor as IndexerStateIDView | null, limit: queryOptions.pageSize }); @@ -65,7 +71,9 @@ export default function BBLlList({ address }: { address: string }) { ) : ( bbns?.data.map((i) => ( - + + Stake ID {shortAddress(i.id, 6, 4)} + } /> - {i.decoded_value?.value.staking_value as string} + {i.decoded_value?.value.staking_value as string} Sats