The event return following parameters
// JavaScript
detail: {
id: 'SendTransaction', // event name
status: 'pending', //
txData: {}, //
txHash: [], //
tx: {}
}
The transaction is signed and sent to the blockchain, but not yet added to the block
Transaction added to block
Transaction not added to block
Transaction signature request sent to wallet
The transaction was rejected by the user, method the transaction that was canceled
// JavaScript
window.addEventListener("SendTransaction", (event) => {
console.log(event.detail.id, event.detail.status, event.detail.txData, event.detail.txHash, event.detail.tx)
})