Class Sdk

Sdk

Hierarchy

  • Sdk

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

internalContracts

internalContracts: Context["internalContracts"]

services

services: Context["services"]

Accessors

api

error$

  • get error$(): ErrorSubject
  • Returns ErrorSubject

notifications$

state

state$

  • get state$(): BehaviorSubject<State>
  • Returns BehaviorSubject<State>

supportedNetworks

  • get supportedNetworks(): Network[]

Methods

activatePaymentHubBridge

batchAddAccountOwner

batchClaimENSNode

batchClaimENSReverseName

  • batch claim ens reverse name

    Returns Promise<GatewayBatch>

    Promise

batchCommitP2PPaymentChannel

batchDeployAccount

  • batch deploy account

    Returns Promise<GatewayBatch>

    Promise

batchExecuteAccountTransaction

batchGatewayTransactionRequest

batchP2PPaymentDepositWithdrawal

batchRemoveAccountOwner

batchSetENSRecordName

batchSetENSRecordText

batchWithdrawP2PPaymentDeposit

callCurrentProject

  • calls current project

    Type parameters

    • T: {}

    Parameters

    Returns Promise<T>

    Promise

clearGatewayBatch

  • clearGatewayBatch(): void
  • clears gateway batch

    Returns void

computeContractAccount

createPaymentHubPayment

createSession

deactivatePaymentHubBridge

destroy

  • destroy(): void
  • destroys

    Returns void

encodeAddAccountOwner

encodeClaimENSNode

encodeClaimENSReverseName

encodeCommitP2PPaymentChannel

encodeDeployAccount

encodeExecuteAccountTransaction

encodeGatewayBatch

encodeP2PPaymentDepositWithdrawal

encodeRemoveAccountOwner

encodeSetENSRecordName

encodeSetENSRecordText

encodeWithdrawP2PPaymentDeposit

ensAddressesLookup

ensNamesLookup

  • ens names lookup

    Parameters

    Returns Promise<string[]>

    Promise<string[]>

estimateGatewayBatch

estimateGatewayKnownOp

getAccount

getAccountBalances

getAccountMembers

getAccountTokenListTokens

getAccountTotalBalances

getConnectedAccounts

  • gets connected accounts

    Parameters

    Returns Promise<Accounts>

    Promise

getENSNode

getENSRootNode

getENSTopLevelDomains

  • getENSTopLevelDomains(): Promise<string[]>
  • gets ens top level domains

    Returns Promise<string[]>

    Promise<string[]>

getExchangeOffers

getExchangeSupportedAssets

getGatewaySubmittedBatch

getGatewaySubmittedBatches

getGatewaySupportedToken

getGatewaySupportedTokens

  • gets gateway supported tokens

    Returns Promise<GatewaySupportedToken[]>

    Promise<GatewaySupportedToken[]>

getNativeCurrencies

getP2PPaymentChannel

getP2PPaymentChannels

getP2PPaymentDeposits

getPaymentHub

getPaymentHubBridge

getPaymentHubBridges

getPaymentHubDeposit

getPaymentHubDeposits

getPaymentHubPayment

getPaymentHubPayments

getPaymentHubs

getProject

getProjects

getTokenListTokens

getTokenLists

  • gets token lists

    Returns Promise<TokenList[]>

    Promise<TokenList[]>

getTransaction

getTransactions

increaseP2PPaymentChannelAmount

isTokenOnTokenList

  • checks if token is on token list

    Parameters

    Returns Promise<boolean>

    Promise

joinContractAccount

registerContract

  • registers contract

    Type parameters

    • T: {}

    Parameters

    Returns Contract & Partial<T>

    Contract

reserveENSName

signMessage

  • signs message

    Parameters

    Returns Promise<string>

    Promise

signP2PPaymentChannel

submitGatewayBatch

switchCurrentProject

syncAccount

  • syncs account

    Returns Promise<Account>

    Promise

topUpAccount

  • topUpAccount(): Promise<string>
  • top-up account

    Returns Promise<string>

    Promise

topUpPaymentDepositAccount

  • topUpPaymentDepositAccount(): Promise<string>
  • top-up account

    Returns Promise<string>

    Promise

transferPaymentHubDeposit

updateP2PPaymentChannel

updatePaymentHub

updatePaymentHubDeposit

updateProject