Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The jetton total supply values from the ton-http-api and ton-indexer are different. #91

Open
hsmang opened this issue Oct 4, 2024 · 0 comments

Comments

@hsmang
Copy link

hsmang commented Oct 4, 2024

Jetton master address : EQAvlWFDxGF2lXm67y4yzC17wYKD9A0guwPkMs1gOsM__NOT

ton http api v2 response
total supply : 102474422538642900000

{
  "ok": true,
  "result": {
    "total_supply": 102474422538642900000,
    "mintable": true,
    "jetton_content": {
      "type": "onchain",
      "data": {
        "uri": "https://cdn.joincommunity.xyz/clicker/not.json",
        "decimals": "9"
      }
    },
    "jetton_wallet_code": "te6cckEBAQEAIwAIQgK6KRjIlH6bJa+awbiDNXdUFz5YEvgHo9bmQqFHCVlTlSN648M=",
    "contract_type": "jetton_master"
  }
}

ton-indexer v3 response
total supply : 102701033769173431754

{
      "address": "0:2F956143C461769579BAEF2E32CC2D7BC18283F40D20BB03E432CD603AC33FFC",
      "total_supply": "102701033769173431754",
      "mintable": true,
      "admin_address": "0:10413C964272D399EAD2D0659062B158B4BA201AE5C05BF906E60C3EE74455A4",
      "jetton_content": {
        "decimals": "9",
        "uri": "https://cdn.joincommunity.xyz/clicker/not.json"
      },
      "jetton_wallet_code_hash": "jSjqQht36AX+pSrPM1KWSZ8Drsjp/SHdtfJWSqZcSN4=",
      "code_hash": "+D0FSQr3ycxYAZSIx7JTyUktScJdEtCTg+UugVN+NDo=",
      "data_hash": "RLZNDyJimMhCr13z12r+92Jw1bGfC/GdxvybZgRO0uI=",
      "last_transaction_lt": "47006173000003"
 }

The value on Tonscan matches the ton-http-api v2, but differs from the ton-indexer.
Additionally, the admin_address is also different.

What could be causing the discrepancy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant