Crypto APIs icon

Crypto APIs

Interact with Crypto APIs — blockchain data, transactions, market data, and more

Actions77

Prepare Transaction → Prepare FA2 Token Transfer

AI-generated

Summary

Prepares a Tezos FA2 token transfer transaction for the selected network, using the sender, recipient, token amount, contract address, token ID, and fee priority. Optionally includes a reveal operation when a sender public key is provided for an unrevealed account.

Inputs

  • Network (required) — Tezos mainnet or Shadownet.
  • From Address (required) — Sender Tezos address.
  • To Address (required) — Recipient address.
  • Amount (required) — Token amount as a decimal string.
  • Contract Address (required) — FA1.2 or FA2 token contract address (KT1…).
  • Token ID (required) — FA2 token ID within the contract, entered as a string.
  • From Public Key — Provide this when the sender account is not yet revealed on-chain; the prepared transaction then includes a reveal operation.
  • Fee Priority — Select standard, slow, or fast fee priority; defaults to standard.

Output shape

a single prepared transaction item

The operation calls the Tezos FA2 transfer preparation endpoint and returns the unwrapped single API item. The Tezos branch does not use the EVM blockchain, address, or gas fields.

Examples

Example 1: Prepare an FA2 transfer

Choose Tezos mainnet or Shadownet, enter sender and recipient addresses, amount, contract address, and token ID. Optionally set fee priority or provide the sender public key if the account is unrevealed.

Links

Discussion