Interacting with Transactions
The Luzid transaction
API allows you to interact with transactions.
Labeling Transactions
In order to identify transactions more easily we can label them. The label is any string and will be used to show the transaction in the Luzid UI.
const signature = await conn.requestAirdrop( pubkey, web3.LAMPORTS_PER_SOL)
await luzid.transaction.labelTransaction(signature, '🪂 airdrop')
Full Example
See the Pen Luzid: Transaction Labels by Thorsten Lorenz (@thlorenz) on CodePen.