Skip to main content

Transaction Detail

Usage scenario: display transaction details

Usage

import { Transaction } from '@portkey/did-ui-react';

const App = () => (
<Transaction
transactionDetail={transactionDetail}
caAddressInfos={[
{
chainId: 'AELF',
caAddress: 'xxxxx',
},
]}
onClose={() => {}}
/>
);

export default App;

API

PropertyDescriptionTypeDefaultVersion
transactionDetailTransaction detailsActivityItemType-
caAddressInfosUser's caAddressInfo listCaAddressInfosType-
chainIdThe chain where the transaction happensChainId-
classNameClass name of the top level containerstring-
onCloseCallback when the close button is clicked() => void-