Configure user-facing transaction confirmation dialogs
From
: The wallet address initiating the transaction.To
: The recipient wallet address.Amount
: The number of tokens being transferred.Action
: The specific action being performed (e.g., token transfer, minting an NFT).Conversion Rates
: Relevant exchange rates if applicable.Chain Information
: Information about the blockchain being used.signMessage
or signTransaction
functions, either directly or
through supported signer libraries (e.g., Ethers, Cosmos).signMessage/signTransaction
function will return a SuccessfulSignatureRes
result, which will contain the signature.TransactionReviewError
will be thrown that includes the transactionReviewUrl
that must be handled by the implementing application.transactionReviewUrl
and pendingTransactionId
:
pendingTransactionId
- Can be used in conjunction with the getPendingTransaction
function available via the
CorePara class (or WebPara, by extension). If it does not exist, that means the user has denied the transaction
request.transactionReviewUrl
- Can be used to open a popup if desired, which will present the user with the sign message /
transaction popup.