## Documentation Index Fetch the complete documentation index at: https://docs.relay.link/llms.txt Use this file to discover all available pages before exploring further.
## Agent Instructions To quote bridges and swaps, look up chains and tokens, or track Relay transactions from an agent, use the Relay MCP server: npx -y @relayprotocol/relay-mcp. It is read-only and does not sign or broadcast transactions. Setup: https://docs.relay.link/resources/developing-with-ai.md For Relay Protocol's trust model, security architecture, and audits, see https://docs.relay.link/references/protocol/security.md. For address screening, see https://docs.relay.link/security/transaction-screening.md.fastFill
Fast fill a request to accelerate the destination fill
The fastFill action allows you to accelerate the filling of a cross-chain request on the destination chain. This is useful when you want to speed up the completion of a bridge or swap operation.
Learn more about the Fast Fill API
Parameters
| Property | Description | Required | |
|---|---|---|---|
| requestId | The unique identifier of the request to fast fill | ✅ | |
| solverInputCurrencyAmount | The amount of input currency the solver should use for filling. This is useful if you know the finalized input amount which can help to minimize slippage. If not specified, uses the quoted amount. | ❌ |
Example
import { getClient } from "@relayprotocol/relay-sdk";
const requestId = "0x..."; // The request ID from a previous quote/execute
const result = await getClient().actions.fastFill({
requestId,
});Example with Solver Input Amount
import { getClient } from "@relayprotocol/relay-sdk";
const requestId = "0x..."; // The request ID from a previous quote/execute
const result = await getClient().actions.fastFill({
requestId,
solverInputCurrencyAmount: "1000000000000000000", // 1 token in wei
});This documentation is built and hosted on Mintlify, a developer documentation platform.