waves_logo Docs
  • Node Owner Guide
    Node Owner Guide
  • Install Waves Node
    • Deploy Node in Docker
      Deploy Node in Docker
    • Install Node on Ubuntu
      Install Node on Ubuntu
    • Install Node on macOS
      Install Node on macOS
    • Install Node on Windows
      Install Node on Windows
    • Install from Source (Building SBT)
      Install from Source (Building SBT)
    Install Waves Node
  • Synchronize Waves Blockchain
    • Import/Export Blockchain
      Import/Export Blockchain
    • Download the Latest Blockchain
      Download the Latest Blockchain
    • Rollback Waves Node
      Rollback Waves Node
    Synchronize Waves Blockchain
  • Generate Blocks
    Generate Blocks
  • Upgrade Waves Node
    Upgrade Waves Node
  • Node Configuration
    Node Configuration
  • Logging Configuration
    Logging Configuration
  • Node Wallet
    Node Wallet
  • Features
    • Activation protocol
      Activation protocol
    Features
  • Custom Blockchain
    Custom Blockchain
  • Node REST API
    • API Key
      API Key
    • Working with Transactions
      Working with Transactions
    • Numeric Fields Format
      Numeric Fields Format
    • Pagination
      Pagination
    • CORS
      CORS
    • API Limitations of Pool of Public Nodes
      API Limitations of Pool of Public Nodes
    • Slow Requests
      Slow Requests
    • Response Codes and Errors
      Response Codes and Errors
    Node REST API
  • Extensions
    • gRPC Server
      gRPC Server
    • Blockchain Updates
      Blockchain Updates
    Extensions
  • Troubleshooting
    • Block Generation FAQ
      Block Generation FAQ
    Troubleshooting
  • Node Go
    Node Go
      • English
      • Русский
      On this page
      waves_logo Docs

          # Numeric Fields Format

          Monetary values and some other numbers in API responses can take up to 64 bit. That can cause issues with programming languages that represent integers with fewer than 64 bit, such as JavaScript. To work around these issues, you can obtain such values as strings by specifying the following HTTP header in the request:

          Accept: application/json; large-significand-format=string
          

          Example:

          curl -X GET --header 'Accept: application/json;large-significand-format=string' 'https://nodes.wavesnodes.com/blocks/headers/last'
          

          Below is the list of endpoints accepting this header:

          • GET /addresses/data/{address}

            POST /addresses/data/{address}

            GET /addresses/data/{address}/{key}

            Field: value

          • GET /addresses/balance/{address}/{confirmations}

            GET /addresses/effectiveBalance/{address}/{confirmations}

            GET /addresses/effectiveBalance/{address}

            GET /addresses/balance/{address}

            Field: balance.

          • GET /addresses/balance/details/{address}

            Fields: regular, generating, available, effective.

          • GET /blocks/headers/last

            GET /blocks/headers/at/{height}

            GET /blocks/headers/seq/{from}/{to}

            Fields: reward, desiredReward, totalFee.

          • GET /blocks/{id}

            GET /blocks/at/{height}

            GET /blocks/address/{address}/{from}/{to}

            GET /blocks/last

            GET /blocks/seq/{from}/{to}

            Fields: reward, desiredReward, fee, totalFee, transaction fields: fee, amount, totalAmount, quantity, price, matcherFee, buyMatcherFee, sellMatcherFee, minSponsoredAssetFee, value.

          • GET /blockchain/rewards/{height}

            GET /blockchain/rewards

            Fields: totalWavesAmount, currentReward, minIncrement.

          • POST /transactions/calculateFee

            Field: feeAmount.

          • GET /transactions/address/{address}/limit/{limit}

            POST /transactions/broadcast

            GET /transactions/info

            GET /transactions/info/{id}

            GET /transactions/unconfirmed

            GET /transactions/unconfirmed/info/{id}

            Fields: fee, amount, totalAmount, quantity, price, matcherFee, buyMatcherFee, sellMatcherFee, minSponsoredAssetFee, value.

          • GET /assets/balance/{address}

            Fields: balance, minSponsoredAssetFee, sponsorBalance, quantity, fee

          • GET /assets/{assetId}/distribution/{height}/limit/{limit}

            Field: account balance in asset.

          • GET /assets/details/{assetId}

            GET /assets/nft/{address}/limit/{limit}

            Fields: quantity, minSponsoredAssetFee.

          • GET /assets/balance/{address}/{assetId}

            Field: balance.

          • GET /debug/balances/history/{address}

            GET /debug/state

            GET /debug/stateWaves/{height}

            Field: balance.

          Working with Transactions
          Pagination
          Working with Transactions
          Pagination