Etherspot
These are our V1 docs and will be deprecated soon. Please visit https://etherspot.fyi/introduction to use our new version of the SDK.
  • Welcome to Etherspot
    • Chains, Bridges & DEXes
    • Social Logins
    • Web3 Logins
  • Transaction Kit
    • Introduction
    • Code Sandboxes
    • Quick Start
    • React Hooks
      • useEtherspotAssets()
      • useEtherspotNfts()
      • useEtherspotHistory()
        • getAccountTransactions()
        • getAccountTransaction()
      • useEtherspotTransactions()
        • estimate()
        • send()
      • useEtherspotAddresses()
      • useEtherspotBalances()
    • React Components
      • <EtherspotTransactionKit />
      • <EtherspotBatches />
      • <EtherspotBatch />
      • <EtherspotTransaction />
      • <EtherspotContractTransaction />
      • <EtherspotApprovalTransaction />
      • <EtherspotTokenTransferTransaction />
  • BUIDLER React Component
    • Introduction
    • Installation
    • Integrate React Component
    • Shared Sessions
    • Wallet Connectors
    • Blocks
      • Send
      • Batching Transaction
      • Multicall Transaction
      • Swaps
      • Bridges
      • Custom Contract Interactions
      • Styling
    • Build Your Own Block
      • Cross-chain KLIMA DAO Staking
  • Etherspot SDK Guides
    • Requirements
    • Install Etherspot SDK
    • Bootstrap Etherspot SDK
      • Instantiate Etherspot SDK
    • Events
    • Etherspot Block Explorer
    • Etherspot Playground
    • Social Login using Etherspot SDK
    • Sponsored Transactions
  • Use Cases & Guides
    • Crosschain Streaming
    • Token Swaps
    • Transactions
      • Historical
      • Sending
    • Multi-chain Bridges
      • ERC20 Bridge
      • DAI - xDai Bridge
      • xDai - DAI Bridge
      • Native Token Bridge
    • Custom Contract Interaction
    • Multi-chain Assets
    • Multi-chain Gas Prices
    • Peer-to-Peer Payments
  • Reference
    • Etherspot SDK API Docs
    • Etherspot SDK on Github
    • Etherspot on NPM
    • Etherspot Playground
    • Etherspot Block Explorer
    • Etherspot Architecture
    • EIP-1271
    • Etherspot/Pillar Audit
  • Brand Assets
    • Etherspot Brand Assets
  • Security
    • Security
  • Get in touch
    • ⚒️Discord
    • Twitter
    • Telegram
Powered by GitBook
On this page
  • Getting started
  • Listen for all events

Was this helpful?

  1. Etherspot SDK Guides

Events

Listen to events from the Etherspot SDK

PreviousInstantiate Etherspot SDKNextEtherspot Block Explorer

Last updated 2 years ago

Was this helpful?

Before we continue, please ensure that you have had a look at our Supported Ethereum Chains, followed the steps in and how to . We're assuming that you have completed these steps before going forward.

Getting started

The Etherspot SDK allows developers and users of their SDK instances to receive events as they happen within the Etherspot platform. These event mechanisms allow applications to react to, or, monitor the state of their application actions and perform additional functions or business logic afterwards.

Etherspot currently supports the following events:

Event Name

Description

AccountMemberCreated

AccountMemberUpdated

AccountUpdated

ENSNodeCreated

ENSNodeUpdated

GatewayBatchCreated

GatewayBatchUpdated

P2PPaymentChannelCreated

P2PPaymentChannelUpdated

P2PPaymentDepositCreated

P2PPaymentDepositUpdated

PaymentHubBridgeCreated

PaymentHubBridgeUpdated

PaymentHubCreated

PaymentHubDepositCreated

PaymentHubDepositUpdated

PaymentHubPaymentCreated

PaymentHubUpdated

TransactionUpdated

This event type is fired when an update occurs against a transaction made with the ETherspot SDK

Listen for all events

The following code below allows an application to listen for all events occurring on the Etherspot SDK.

sdk
  .notifications$
  .subscribe(
    eventData => console.log('Event:', eventData)
  );
Install Etherspot SDK
Bootstrap Etherspot SDK