Skip to main content

Enumeration.KeybanChain

The KeybanChain enumeration defines the various blockchain networks supported by the Keyban SDK. Each member of the enumeration represents a specific blockchain network identified by its unique name.

Remarks

Use this enumeration to specify the blockchain network you wish to interact with when utilizing the different functionalities of the Keyban SDK, such as account management, transactions, and NFTs.

Example

import { KeybanClient, KeybanChain } from '@keyban/sdk';

const client = new KeybanClient({
apiUrl: "https://api.keyban.io",
appId: "your-app-id",
accessTokenProvider: () => "your-access-token",
chain: KeybanChain.KeybanTestnet,
});

Enumeration Members

Enumeration MemberValueDescription
KeybanTestnet"KeybanTestnet"Keyban Testnet Chain. Primarily used for development and testing purposes. This chain allows simulation of transactions and interactions without affecting the main chain. Example const testnetChain = KeybanChain.KeybanTestnet;
PolygonAmoy"PolygonAmoy"Polygon Amoy Chain. Represents the Polygon Amoy mainnet, offering fast transactions and reduced fees. Ideal for production applications requiring high performance. Example const polygonChain = KeybanChain.PolygonAmoy;