TransactionBadge
Last updated
Was this helpful?
A component to get a badge based on a transaction.
import { TransactionBadge } from '@aragon/ui'
function App() {
return <TransactionBadge transaction="0x281c36aee91…c31ef3fc115" />
}
transactionString
None (required)
The transaction hash.
If this is not supplied or an invalid transaction hash is supplied, the badge will display "Invalid".
shortenBool
true
If true, only render the first and last four characters of the transaction hash (excluding the '0x' prefix).
networkTypeString
main
Checks the type of network to get Etherscan's URL.
disabledBool
true
Disable the link.
Last updated
Was this helpful?
Was this helpful?
