Griptape.js
  • What is Griptape.js?
  • 🛹Getting Started
  • 🚀Bootstrapping Your App
  • 🗞️Interacting with Contracts
    • Contract Definitions
      • More on Definitions
    • Creating Contract Clients
    • Built-In Definitions
    • Extending Contract Definitions
    • Contract Registry
    • Instantiating Contracts
  • 🔑Using Viewing Keys and Permits
    • Using the viewing key manager
    • Using Keplr with Griptape
    • Managing Permits
  • 🕢Handling Events
  • ⚒️Using Utilities
  • 🔀API Reference
    • Bootstrap
    • Contracts
    • Viewing Keys
    • Permits
    • Events
    • Utilities
  • 🐝Tricks Tutorials
    • React Tutorials
      • Hello, Griptape
      • Hello, Contracts
      • Hello, Events
      • Hello, Viewing Keys
      • Hello, Permits
      • Hello, Transactions
      • Hello, Mint
    • Vue Tutorials
      • Hello, Griptape
      • Hello, Contracts
      • Hello, Events
      • Hello, Viewing Keys
      • Hello, Permits
      • Hello, Transactions
      • Hello, Mint
  • 💾Hackathon
    • Welcome Packet
    • Getting Set Up
    • Glossary
Powered by GitBook
On this page
  • onAccountAvailable(EventCallback): CleanListenerCallback
  • onAccountChange(EventCallback): CleanListenerCallback
  • onAccountNotAvailable(EventCallback): CleanListenerCallback
  • onAccountDisconnect(EventCallback): CleanListenerCallback
  • onViewingKeyCreated(EventCallback): CleanListenerCallback
  1. API Reference

Events

PreviousPermitsNextUtilities

Last updated 3 years ago

onAccountAvailable():

Arguments:

  • {}

Returns:

  • {}

Description: Event handler that listens when the Keplr extension has loaded and an address is available.

onAccountChange():

Arguments:

  • {}

Returns:

  • {}

Description: Event handler that listens when switching accounts and a new account gets selected.

onAccountNotAvailable():

Arguments:

  • {}

Returns:

Description: Event handler that listens and executes if the Keplr extension is not installed.

Arguments:

Returns:

Description: Event handler that listens when the shutdown function gets called.

Arguments:

Returns:

Description: Event handler that listens when a new viewing key is created using the viewingKeyManager.add() or keplrViewingKeyManger.add() methods.

{}

onAccountDisconnect():

{}

{}

onViewingKeyCreated():

{}

{}

🔀
EventCallback
CleanListenerCallback
EventCallback
CleanEventListenerCallback
EventCallback
CleanListenerCallback
EventCallback
CleanEventListenerCallback
EventCallback
CleanListenerCallback
EventCallback
CleanEventListenerCallback
EventCallback
CleanListenerCallback
EventCallback
CleanEventListenerCallback
EventCallback
CleanListenerCallback
EventCallback
CleanEventListenerCallback