Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { Web3Data } from "@openrouter/sdk/models/operations";

let value: Web3Data = {
  transferIntent: {
    callData: {
      deadline: "<value>",
      feeAmount: "<value>",
      id: "<id>",
      operator: "<value>",
      prefix: "<value>",
      recipient: "<value>",
      recipientAmount: "<value>",
      recipientCurrency: "<value>",
      refundDestination: "<value>",
      signature: "<value>",
    },
    metadata: {
      chainId: 7497.17,
      contractAddress: "<value>",
      sender: "<value>",
    },
  },
};

Fields

FieldTypeRequiredDescription
transferIntentoperations.TransferIntent:heavy_check_mark:N/A