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

estimateStatelessAccountTransactions

getAccount

getAccountBalances

getAccountMembers

getAccountTokenListTokens

getAccountTotalBalances

getCollectibles

getCollectiblesTransactionHistory

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

getGatewayGasInfo

getGatewaySubmittedBatch

getGatewaySubmittedBatches

getGatewaySubmittedPendingBatches

getGatewaySupportedToken

getGatewaySupportedTokens

  • gets gateway supported tokens

    Returns Promise<GatewaySupportedToken[]>

    Promise<GatewaySupportedToken[]>

getGatewayTransaction

  • gets gateway transaction details

    Parameters

    • dto: GetGatewayTransactionDto

    Returns Promise<GatewayTransaction>

    Promise

getNativeCurrencies

getNftList

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

validateENSName

  • validateENSName(dto: ValidateENSNameDto): Promise<boolean>
  • validate ens name

    Parameters

    • dto: ValidateENSNameDto

    Returns Promise<boolean>

    Promise