Skip to main content

What is signer-ready transaction data?

It is a complete transaction object the user’s wallet can sign and submit without rewriting the destination, calldata, or value. In Enso this is the returned tx.

J
Written by Javier Diaz

Signer-ready transaction data is a complete transaction object the user’s wallet, or your existing signer, can sign and submit without the app rewriting the destination, calldata, or value. In Enso, that object is the returned tx.to, tx.data, and tx.value.

Definition

A routing API can return a path description, or it can return an executable transaction. Signer-ready means the second of those: the fields a wallet already knows how to send. Building the quote does not submit the transaction. Your product still collects a signature and broadcasts it.

How it works

  1. Request a Route or Bundle quote.

  2. Show expected output, minimum output, gas, and any approval.

  3. Submit required approvals or preTransactions first.

  4. Submit tx unchanged. Do not patch amounts, targets, or calldata.

  5. If the quote is stale, or a validUntil field is present and has passed, request a new quote.

How Enso does this

Route and Bundle responses include tx. Get Started and the FAQ say to submit the returned transaction exactly as provided. Contracts and Deployments says to use response.tx.to, not an address copied from a deployments list. Bundle docs also mention a validUntil timestamp when applicable; public docs do not publish a single global quote time-to-live.

FAQ

Does “signer-ready” mean Enso signs for the user?

No. Your user or your existing signer signs. Enso returns the data.

What if I need to change slippage after the quote?

Request a new quote. Do not edit tx.

Related articles

  • How do I submit Enso transaction data from my app?

  • Should I hardcode Enso contract addresses?

  • What if my quote expired?

  • What is the Enso Route API?

  • Does Enso take custody of user funds?

Sources

Did this answer your question?