52 integrations tagged with "onchain"
Retrieve detailed token data for a specific contract address via the Codex (Defined.fi) API. Returns price, market cap, liquidity, volume, holder count, buy/sell activity, supply info, and token metadata. Ideal for: token research, portfolio monitoring, due diligence on specific tokens before trading.
Convert a smallest-unit integer (e.g. '3750000') back to a human-readable decimal string (e.g. '3.75' for USDC with 6 decimals). Uses string math — no floating-point errors. Works for any ERC-20 token.
Get upcoming token unlock events for cryptocurrencies. Returns unlock dates, amounts, USD values, and percentage of supply being unlocked. Ideal for: token dilution alerts, trading signals, supply analysis, risk assessment.
Send a raw transaction via your Thirdweb Engine. Takes pre-encoded calldata, destination address, and value. Queues the transaction and returns a queueId. Ideal for: arbitrary contract interactions, value transfers, custom calldata not covered by write-contract.
Convert a human-readable decimal amount (e.g. '3.75') to its smallest-unit integer representation (e.g. '3750000' for USDC with 6 decimals). Uses string math — no floating-point errors. Works for any ERC-20 token.
Check the status of a queued transaction on your Thirdweb Engine. Returns current status, transaction hash (once sent), and on-chain result (once mined). Ideal for: polling after a write-contract or send-transaction action, workflow conditions on tx status.
Read data from a smart contract via your Thirdweb Engine instance. Calls a read-only function and returns the result. Ideal for: checking balances, reading state, fetching on-chain data for workflow conditions.
Execute a write transaction on a smart contract via your Thirdweb Engine. Queues the transaction and returns a queueId for tracking. Use get-transaction-status to poll for confirmation. Ideal for: state-changing contract calls, token transfers, minting.