Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/config"

Index

Variables

Const coinGeckoBaseUrl

coinGeckoBaseUrl: "https://api.coingecko.com/api/v3/" = "https://api.coingecko.com/api/v3/"

Const mainnetTokens

mainnetTokens: object = _.assign({}, mainnetErc20Tokens, mainnetStellarTokens)

Type declaration

Const testnetTokens

testnetTokens: object = _.assign({}, testnetErc20Tokens, testnetStellarTokens)

Type declaration

Functions

Const defaultConstants

  • defaultConstants(env: EnvironmentName): object & object | object & object
  • Get the default (hardcoded) constants for a particular network.

    Note that this may not be the complete set of constants, and additional constants may get fetched from BitGo during the lifespan of a BitGo object.

    Parameters

    Returns object & object | object & object

Object literals

Const defaults

defaults: object

bitgoEthAddress

bitgoEthAddress: string = "0x0f47ea803926926f299b7f1afc8460888d850f47"

fallbackFeeRate

fallbackFeeRate: number = 50000

maxFee

maxFee: number = 10000000

maxFeeRate

maxFeeRate: number = 1000000

minFeeRate

minFeeRate: number = 5000

minInstantFeeRate

minInstantFeeRate: number = 10000

minOutputSize

minOutputSize: number = 2730

Const krsProviders

krsProviders: object

bitgoKRSv2

bitgoKRSv2: object

feeAmount

feeAmount: number = 0

feeType

feeType: string = "flatUsd"

supportedCoins

supportedCoins: string[] = ['btc', 'eth']

dai

dai: object

feeAmount

feeAmount: number = 0

feeType

feeType: string = "flatUsd"

supportedCoins

supportedCoins: string[] = ['btc', 'eth', 'xlm', 'xrp', 'dash', 'zec', 'ltc', 'bch']

keyternal

keyternal: object

feeAmount

feeAmount: number = 99

feeType

feeType: string = "flatUsd"

supportedCoins

supportedCoins: string[] = ['btc', 'eth']

feeAddresses

feeAddresses: object

btc

btc: string = ""

Const supportedCrossChainRecoveries

supportedCrossChainRecoveries: object

bch

bch: string[] = ['btc', 'ltc', 'bsv']

bsv

bsv: string[] = ['btc', 'ltc', 'bch']

btc

btc: string[] = ['bch', 'ltc', 'bsv']

ltc

ltc: string[] = ['btc', 'bch', 'bsv']

Const tokens

tokens: object

bitcoin

bitcoin: object

eth

eth: object

tokens

tokens: Erc20TokenConfig[] = formattedErc20Tokens.filter(token => token.network === 'Mainnet')

ofc

ofc: object

tokens

tokens: OfcTokenConfig[] = formattedOfcCoins.filter(token => coins.get(token.type).network.type === NetworkType.MAINNET)

xlm

xlm: object

tokens

tokens: StellarTokenConfig[] = formattedStellarTokens.filter(token => token.network === 'Mainnet')

testnet

testnet: object

eth

eth: object

tokens

tokens: Erc20TokenConfig[] = formattedErc20Tokens.filter(token => token.network === 'Testnet')

ofc

ofc: object

tokens

tokens: OfcTokenConfig[] = formattedOfcCoins.filter(token => coins.get(token.type).network.type === NetworkType.TESTNET)

xlm

xlm: object

tokens

tokens: StellarTokenConfig[] = formattedStellarTokens.filter(token => token.network === 'Testnet')

Generated using TypeDoc