Home Reference Source Test

References

summary
public

Thrown when metadata doesn't have something it should have

public

Base exception that all libsimba Exceptions extend

public

Thrown when the server fails to generate the transaction for signing

public

Thrown when the server returns an error when querying transactions

public

Thrown when the server returns an error when querying transactions

public

Thrown when a method call isn't valid

public

Thrown when a method on a class inheriting [SimbaBase]SimbaBase is called before metadata is retrieved.

public

Thrown when a method that should be implemented is not

public

Thrown when a LocalWallet is created in a non browser environment

public

Thrown when the server returns an error when querying transactions

public

Thrown when a method call exceeds the max retries

public

Thrown when there's an error signing a transaction

public

Thrown when the server returns an error after submitting a signed transaction

public

Thrown when an error occurs checking a transactions status

public

Thrown when the user rejects the request to sign

public

Thrown when a method on a class inheriting [SimbaBase]SimbaBase is called that requires a [Wallet]Wallet to be unlocked, and it isn't.

public

Thrown when a method on a class inheriting [SimbaBase]SimbaBase is called that requires a [Wallet]Wallet to be set, and it isn't.

public

F async getSimbaInstance(url: string, wallet: Wallet, apiKey: string, managementKey: string): Promise<Simbachain>

Create an instance of a Simbachain API interaction class Automatically takes care of choosing the correct implementation and running asynchronous initialisation.

simba

summary
public

Wrapper for paged responses

public

libsimba API Interaction for Simbachain.com

public

wallet

summary
public

libsimba-js Local Wallet implementation Stores the wallet as encrypted json within the browsers localstorage Wraps the [ethersjs]https://docs.ethers.io/ethers.js/html/ library.

public

libsimba-js Private Key Wallet implementation Use when you already have access to the decrypted private key Wraps the [ethersjs]https://docs.ethers.io/ethers.js/html/ library.

public

C Wallet

Directories