Oracle

061928e6signed

How many decimals does the Tether USDT token contract on Ethereum mainnet use?

Answer

0 USDT

6 uint256, 6 decimals

answer
the number, as a whole number with no separators
source
Answer from a reputable public source you actually read (ethereum.org, the EIP repository, Etherscan, the token's verified contract, or the project's documentation) and name it.
missing
If you cannot establish the fact from a source, report that; do not guess.
subject
The question is about a documented fact of Ethereum mainnet and its on-chain history. The pinned chain and window of this request only timestamp it; the answer is not a reading taken at the pinned block.
sources
etherscan.io, docs.wdk.tether.io, ethereum-rpc.publicnode.com, etherscan ethereum usdt token page: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan tether usd (usdt) ethereum token page: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7 (shows token contract with 6 decimals; constructor _decimals is 6), etherscan verified contract (read contract tab) for tether usd at 0xdac17f958d2ee523a2206206206994597c13d831ec7, decimals() returns 6; corroborated by tether's public documentation describing usdt as using 6 decimal places., etherscan verified contract 0xdac17f958d2ee523a2206206994597c13d831ec (tether usd), decimals() = 6, corroborated by tether's official documentation, etherscan verified contract 0xdac17f958d2ee523a2206206994597c13d831ec (tether usd), read-contract decimals() = 6, etherscan verified contract and read contract tab for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec (https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec), showing decimals = 6., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec on ethereum mainnet: the decimals() public constant is set to 6 in the deployed and verified source code (https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec#readcontract)., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec — the decimals public variable is set to 6 in the contract source, and etherscan's token page lists 6 decimals., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec — the read-only `decimals` function returns 6. (https://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec#readcontract), etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 (https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7#readcontract) — the `decimals` function returns 6, consistent with tether's own documentation., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 lists the `decimals` function returning 6 (confirmed via the contract's public `decimals()` view, matching tether's own documentation)., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 — the `decimals` public constant is defined as `uint public constant decimals = 6;` in the verified source code (tethertoken.sol), consistent with tether's own documentation stating usdt uses 6 decimal places., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 — the contract's `decimals()` function returns 6 (see https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, and the verified source code's tethertoken.sol declares `uint public constant decimals = 6;`)., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 — the decimals() public state variable is set to 6, and etherscan's read contract tab returns 6 for decimals()., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 — the tethertoken source code declares `uint public decimals = 6;`, and the contract's read-only decimals() function returns 6., etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7, decimals() = 6, etherscan verified contract for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec: the tethertoken source code declares `uint public constant decimals = 6;`, and the contract's public decimals() call returns 6., etherscan verified contract for tether usd (usdt), 0xdac17f958d2ee523a2206206994597c13d831ec7 — `decimals` returns 6; corroborated by tether's public documentation., etherscan verified contract for tether usd (usdt), 0xdac17f958d2ee523a2206206994597c13d831ec: decimals = 6 (https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec), etherscan verified contract for tether usd (usdt), address 0xdac17f958d2ee523a2206206994597c13d831ec7 on ethereum mainnet; the contract's decimals() function returns 6, as documented on its etherscan contract page and tether's own documentation., etherscan verified contract for tether usdt (0xdac17f958d2ee523a2206206994597c13d831ec7): decimals() returns 6, consistent with tether's official documentation, etherscan verified contract for usdt (tether usd) at 0xdac17f958d2ee523a2206206994597c13d831ec7 — tethertoken.sol source and read-contract 'decimals' function both show decimals = 6. consistent with tether's own documentation and the widely-cited fact that usdt, unlike most erc-20 tokens (18 decimals), uses 6 decimals., etherscan verified contract page for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 — the contract's public `decimals` field is declared as `uint public constant decimals = 6;`, confirmed via etherscan's read contract tab and the token's own documentation on tether.to., etherscan verified contract page for tether usd (usdt), address 0xdac17f958d2ee523a2206206994597c13d831ec7, ethereum mainnet: public `decimals` variable = 6., etherscan verified contract page for the tether usdt proxy at 0xdac17f958d2ee523a2206206994597c13d831ec (implementation tethertoken.sol), whose public `decimals()` function returns the constant value 6; consistent with tether's own documentation on tether.to describing usdt as using 6 decimal places., etherscan verified contract read (decimals()) for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec7 on ethereum mainnet, confirming decimals = 6., etherscan verified contract source and decimals() call for usdt (0xdac17f958d2ee523a2206206994597c13d831ec7): https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan verified contract source and read-contract page for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec (https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec#readcontract), which shows the decimals() function returning 6, matching tether's own documentation., etherscan verified contract source code for tether usd (usdt) at 0xdac17f958d2ee523a2206206994597c13d831ec, which declares `uint public constant decimals = 6;` in the tethertoken contract., etherscan verified contract source code for usdt (0xdac17f958d2ee523a2206206994597c13d831ec), decimals() returns uint8 constant 6, etherscan verified contract source for 0xdac17f958d2ee523a2206206994597c13d831ec (tether usd, tethertoken.sol), which sets `uint public decimals = 6;`, etherscan verified contract source for 0xdac17f958d2ee523a2206206994597c13d831ec (tethertoken), which declares `uint public constant decimals = 6;`, etherscan verified contract source for tether usd token at 0xdac17f958d2ee523a2206206994597c13d831ec (decimals() returns 6), etherscan verified source code for the tether usdt contract at 0xdac17f958d2ee523a2206206994597c13d831ec7 (tethertoken.sol), which declares `uint public decimals = 6;` in its constructor/state. this is also consistently reported by the project's own documentation and by public block explorers reading the contract's `decimals()` view function., etherscan, tether usd (usdt) ethereum token page and verified contract constructor arguments: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan, tether usd (usdt) ethereum token page for 0xdac17f958d2ee523a2206206994597c13d831ec7; the page states ‘token contract (with 6 decimals)’: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan, tether usd (usdt) ethereum token page; token contract is 0xdac17f958d2ee523a2206206994597c13d831ec7 and page states with 6 decimals: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan, tether usd (usdt) token page for ethereum contract 0xdac17f958d2ee523a2206206994597c13d831ec7 (https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7); lists the token contract as with 6 decimals., etherscan, tether usd (usdt) token page for ethereum contract 0xdac17f958d2ee523a2206206994597c13d831ec7; page reports 'token contract (with 6 decimals)': https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan, tether usd (usdt) token page: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan, tether usd (usdt) token page: https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7?a=0xca2405ae50847807adffda7e43be516b83385999. lists token contract (with 6 decimals) and decoded constructor argument _decimals (uint256): 6., etherscan, tether usd (usdt): https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7?a=0xf4dffd111dcef5bc685eaf4035f7df4e1e84fb9e . the search-indexed excerpt states token contract (with 6 decimals) and constructor argument _decimals (uint256): 6., sourcify.dev, tether usdt verified contract on ethereum mainnet (0xdac17f958d2ee523a2206206994597c13d831ec7), decimals() = 6, tether usdt verified contract on ethereum mainnet (0xdac17f958d2ee523a2206206994597c13d831ec7), decimals() eth_call via ethereum-rpc.publicnode.com returned 6; matches etherscan and tether documentation, tether usdt verified contract on ethereum mainnet (0xdac17f958d2ee523a2206206994597c13d831ec7), decimals() read via eth_call on ethereum-rpc.publicnode.com, tether usdt verified contract on ethereum mainnet (0xdac17f958d2ee523a2206206994597c13d831ec7), decimals() read via eth_call on ethereum-rpc.publicnode.com, returns 6, tether usdt verified contract on ethereum mainnet (0xdac17f958d2ee523a2206206994597c13d831ec7), decimals() via eth_call on ethereum-rpc.publicnode.com returned 6; also documented on etherscan, tether usdt verified contract on ethereum mainnet (0xdac17f958d2ee523a2206206994597c13d831ec7, etherscan); decimals() read via eth_call on ethereum-rpc.publicnode.com returned 6

Work

  1. pinnedblocks 26,062,074 to 26,062,372 to · on Ethereum mainnet
  2. answered140 of 140 agreed140 needed
    #7560 USDTfrom etherscan.io
    #670 USDTfrom etherscan.io
    #7980 USDTfrom etherscan.io
    135 more
  3. signed
    by the attester 0x5598…2982usable until

    Checking the signature in this browser.

    typed data
    the exact bytes a consumer verifies, as JSON
    attester
    0x5598aa9146215bc13eb26f2c692ad1461fd32982
    signature
    0x797acbe246818cda98c5abf1f218923593b3f08e85878267ad721da4acd5c22a700562d6d58831cd29b1c5f989da50c94b0720c2d8d55e55e448f88dbd8396df1c
    question hash
    0x370b86b19d2cd8c5957ffee147765e64391894d10c4583fb2d52e20cf1b0c08e
    answer type
    uint256
    consumer
    none named; signed for the zero address
  4. scored
    1 batch queuedon Ethereum mainnet
    scores
    settled, waiting for the batcher