Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "config"

Index

Classes

Variables

Functions

Variables

TextDecoder

TextDecoder: any

TextEncoder

TextEncoder: any

Const fetch

fetch: any = require("isomorphic-fetch")

Const settings

settings: Settings = new Settings()

Functions

config

  • config(token: string, options?: object): void
  • Parameters

    • token: string
    • Default value options: object = {}
      • Optional actor?: undefined | string

        EOISO account name

      • Optional contract?: undefined | string

        EOS Detective Smart Contract

        default

        "eosdetective"

      • Optional endpoint?: undefined | string

        EOS Detective API endpoint

        default

        "https://api.eosdetective.semiofficial.io/v0/"

      • Optional endpoint_eosio?: undefined | string

        EOSIO API endpoint

        default

        "https://api.eosn.io"

      • Optional permission?: undefined | string

        EOSIO account's permission

        default

        "active"

      • Optional private_key?: undefined | string

        EOSIO Private Key for account

      • Optional token?: undefined | string

        EOS Detective API Token

    Returns void

Generated using TypeDoc