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

Example Usage

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

let value: 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
callDataoperations.CallData:heavy_check_mark:N/A
metadataoperations.Metadata:heavy_check_mark:N/A