HomeDocsUSDXUSDX 2ReplitOpenAPITradFi

USDX API 2

  • GET /v1/token/supply: Get total token supply
  • GET /v1/token/supply: Get shares for address
  • GET /v1/token/supply: Mint new tokens
  • GET /v1/token/supply: Burn tokens
  • GET /v1/token/convert/shares: Convert tokens to shares
  • GET /v1/token/convert/tokens: Convert shares to tokens

Wallets

  • POST /v1/accounts/block: Block accounts
  • POST /v1/accounts/unblock: Unblock accounts
  • GET /v1/accounts/blocked/{address}: Check if address is blocked
  • POST /v1/roles/grant: Grant role to address
  • POST /v1/roles/revoke: Revoke role from address
  • POST /v1/protocol/pause: Pause protocol
  • POST /v1/protocol/unpause: Unpause protocol
  • GET /v1/protocol/status: Get protocol pause status
  • POST /v1/rewards/multiplier: Update reward multiplier
  • GET /v1/rewards/multiplier: Get current multiplier
  • POST /v1/wrapped/deposit: Deposit USDX for wUSDX
  • POST /v1/wrapped/withdraw: Withdraw USDX from wUSDX
  • GET /v1/wrapped/balance/{address}: Get wUSDX balance