@ctrl-tech/chains-bitcoin
v2.0.17
Published
```typescript const bitcoinManifest = { name: 'Bitcoin', description: '', rpcURL: 'https://btc-haskoin.xdefiservices.com', chainSymbol: 'BTC', blockExplorerURL: 'https://blockchair.com/bitcoin', chainId: 'bitcoin', chain: 'bitcoin', decima
Downloads
6
Readme
Manifest
const bitcoinManifest = {
name: 'Bitcoin',
description: '',
rpcURL: 'https://btc-haskoin.xdefiservices.com',
chainSymbol: 'BTC',
blockExplorerURL: 'https://blockchair.com/bitcoin',
chainId: 'bitcoin',
chain: 'bitcoin',
decimals: 8,
feeGasStep: {
high: 1,
medium: 1,
low: 1,
},
};
name
: The name of the blockchain network, in this case, Bitcoin. Uses only for display name to userdescription
: A brief description or additional information about the blockchain network.rpcURL
: The URL of the RPC (Remote Procedure Call) endpoint used to interact with the Bitcoin blockchain network.chainSymbol
: The symbol or ticker representing the Bitcoin blockchain network, which is "BTC".blockExplorerURL
: The URL of the block explorer for the Bitcoin blockchain network. Block explorers allow users to view details about blocks, transactions, addresses, and other blockchain-related data.chainId
: The unique identifier for the Bitcoin blockchain network, often referred to as the chain ID. In this example, it is "bitcoin".chain
: The name of the blockchain network. If you are using IndexerDataSource, it must be obtained from the registry.decimals
: The number of decimal places used for representing token amounts on the Bitcoin blockchain. In this case, it is set to 8.feeGasStep
: An object specifying the gas steps for different fee levels (high, medium, and low) used for transactions on the Bitcoin blockchain network. In this example, all fee levels are set to 1.