assist
assist copied to clipboard
Handle MetaMask Error
MetaMask has changed the way the error message is structured on the error object returned for transaction errors. This causes the extractMessageFromError
function to always return an unknown error. This function needs to be updated to handle the new error object structure.