|<---->| Cannot view, screen to narrow, please revisit on a wider device.

ledgers.js API playground

This is a ledgers.js library live API playground.

The API key and token are retrieved from the token API and are used to oh$.enable(..).

The address and secret track the last credentials reported by onCredentialsUpdate.

The signature contains the last signature retrieved with sign().

The imparterTag dropdown affects all APIs: this is the imparter used for the calls. Read more in the introduction of the API documentation.

Invalid imparterTag.

For ohledger and ohledger-web3 imparters please first register a provider address with the overhide-ledger test network.

For the eth-web3 imparter please use addresses from the Rinkeby testnet.

getters

Calls

  • oh$.getImparterTags
  • oh$.canSetCredentials
  • oh$.canGenerateCredentials
  • oh$.canChangeNetwork
  • oh$.getOverhideRemunerationAPIUri
  • oh$.getCredentials
  • oh$.getNetwork

generateCredentials

Call generateCredentials(..) (documentation).

setCredentials

Call setCredentials(..) (documentation).

setNetwork

Call setNetwork(..) (documentation).

getTallyDollars

Call getTallyDollars(..) (documentation).

getTally

Call getTally(..) (documentation).

getFromDollars

Call getFromDollars(..) (documentation).

getTransactions

Call getTransactions(..) (documentation).

isOnLedger

Call isOnLedger(..) (documentation).

sign

Call sign(..) (documentation).

createTransaction

Call createTransaction(..) (documentation).