Address Labels

The OpenPool SDK offers the capability to create, update, and manage custom smart contract names for counterparty addresses your wallet interacts with. This can be helpful when you are trying to make 0x address data more readable and easier to understand for you and your service providers.

Before you can query the OpenPool SDK for a given wallet or contract balances and transactions you will first need to register the wallet. You can optionally register a set of wallets all at once by submitting a comma-separated list of 0x addresses to this endpoint.

Methods

  • createLabel
    • Summary: This method allows you to create a private, custom label to assign to a particular counterparty 0x address.
  • updateLabel
    • Summary: This method allows you to update a custom label name and will replace all of the custom name fields for a specified counterparty address throughout your wallet.
  • partialUpdateLabel
    • Summary: This method allows you to update a custom label and will only update custom label name fields you specifically modify.
  • deleteLabel
    • Summary: This method allows you to delete one of your custom labels from OpenPool.
  • getAllLabels
    • Summary: This method allows you to get a list of all of your custom labels (and associated IDs) so that you can query against them
  • getLabel
    • Summary: This method allows you to retrieve one of your custom address labels.