Prompt Wars: NEAR Protocol Recipes
  • NEAR Protocol Recipes
    • NEAR Guest Wallet Widget
    • NEAR and NEP141 Balance Widget
    • Render a Data Table from Contract VIEW Methods
    • Link an Account to Image, Text and Time Metadata with On-Chain Storage
    • Create Time State Machines with Realtime Block Timestamp Comparisons
    • Handle NEP141 Transfer Calls and Track the Target Contract's Balance
    • Handle FunctionCall Transaction Errors
  • Project Setup
    • The User Interface
    • The Rust Contracts
Powered by GitBook
On this page
  1. NEAR Protocol Recipes

Handle FunctionCall Transaction Errors

Display a React toast component whenever a transaction fails to execute or if the result is not what is expected. Learn how to unwrap NEAR's FinalExecutionOutcome objects.

PreviousHandle NEP141 Transfer Calls and Track the Target Contract's BalanceNextProject Setup

Last updated 1 year ago