Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Static ADDRESS_LENGTH

ADDRESS_LENGTH: number = 12

Static VALID_ADDRESS_CHARS

VALID_ADDRESS_CHARS: string[] = '12345abcdefghijklmnopqrstuvwxyz'.split('')

Accessors

type

  • get type(): string

Static coinTokenPatternSeparator

  • get coinTokenPatternSeparator(): string

Methods

allowsAccountConsolidations

  • allowsAccountConsolidations(): boolean

baseUnitsToBigUnits

  • baseUnitsToBigUnits(baseUnits: string | number): string

bigUnitsToBaseUnits

  • bigUnitsToBaseUnits(bigUnits: string | number): string

deriveKeyWithSeed

  • deriveKeyWithSeed(__namedParameters: object): object

enterprises

explainTransaction

feeEstimate

generateKeyPair

  • generateKeyPair(seed?: Buffer): KeyPair

generateRandomAddress

  • generateRandomAddress(params: __type): string
  • Generate a random EOS address.

    This is just a random string which abides by the EOS adddress constraints, and is not actually checked for availability on the EOS blockchain.

    Current EOS address constraints are:

    • Address must be exactly 12 characters
    • Address must only contain lowercase letters and numbers 1-5

    Parameters

    • params: __type

    Returns string

    a validly formatted EOS address, which may or may not actually be available on chain.

getAddressDetails

  • getAddressDetails(address: string): AddressDetails

getBaseFactor

  • getBaseFactor(): number

getChain

  • getChain(): string

getChainId

  • getChainId(): string

getExtraPrebuildParams

getFamily

  • getFamily(): string

getFullName

  • getFullName(): string

getPublicNodeUrls

  • getPublicNodeUrls(): string[]

initiateRecovery

  • initiateRecovery(__namedParameters: object): Bluebird<HDNode[]>

isValidAddress

  • isValidAddress(address: string): boolean

isValidMemo

  • isValidMemo(__namedParameters: object): boolean

isValidMemoId

  • isValidMemoId(memoId: string): boolean

isValidMofNSetup

  • isValidMofNSetup(__namedParameters: object): boolean

isValidPrv

  • isValidPrv(prv: string): boolean

isValidPub

  • isValidPub(pub: string): boolean

keyIdsForSigning

  • keyIdsForSigning(): number[]

keychains

markets

newWalletObject

  • newWalletObject(walletParams: any): Wallet

normalizeAddress

  • normalizeAddress(__namedParameters: object): string

parseTransaction

pendingApprovals

postProcessPrebuild

preCreateBitGo

presignTransaction

recover

  • recover(params: RecoveryOptions, callback?: NodeCallback<RecoveryTransaction>): Bluebird<RecoveryTransaction>

serializeTransaction

  • serializeTransaction(eosClient: EosJs, transaction: EosJs.transaction): string
  • Serialize an EOS transaction, to the format that should be signed

    Parameters

    • eosClient: EosJs

      an offline EOSClient that has the transaction structs

    • transaction: EosJs.transaction

      The EOS transaction returned from eosClient.transaction to serialize

    Returns string

    serialized transaction in hex format

signMessage

  • signMessage(key: object, message: string, callback?: NodeCallback<Buffer>): Bluebird<Buffer>

signTransaction

signTx

  • signTx(signableTx: string, signingKey: HDNode): string

supplementGenerateWallet

supportsBlockTarget

  • supportsBlockTarget(): boolean

transactionDataAllowed

  • transactionDataAllowed(): boolean

url

  • url(suffix: string): string

validateKey

  • validateKey(__namedParameters: object): HDNode

valuelessTransferAllowed

  • valuelessTransferAllowed(): boolean

verifyAddress

  • verifyAddress(__namedParameters: object): boolean

verifyRecoveryTransaction

verifyTransaction

wallets

webhooks

Static createInstance

Generated using TypeDoc