Onchain
Tag52 integrations tagged with "onchain"
Get Token Unlocks
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.
Thirdweb Engine: Write Contract
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.
Convert from Smallest Unit (Wei)
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.
Thirdweb Engine: Read Contract
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.
Thirdweb Engine: Send Transaction
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.
Filter Tokens
Discover and filter tokens across blockchain networks using the Codex (Defined.fi) API. Returns ranked token lists with price, volume, liquidity, market cap, holder counts, and buy/sell activity. Supports filtering by network, minimum liquidity, volume thresholds, and scam exclusion. Ideal for: finding trending tokens, screening new launches, monitoring trading activity on specific chains.
Thirdweb Engine: Get Transaction Status
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.
