Web3Data - TypeScript SDK

Web3Data type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { Web3Data } from "@openrouter/sdk/models/operations";
2
3let value: Web3Data = {
4 transferIntent: {
5 callData: {
6 deadline: "<value>",
7 feeAmount: "<value>",
8 id: "<id>",
9 operator: "<value>",
10 prefix: "<value>",
11 recipient: "<value>",
12 recipientAmount: "<value>",
13 recipientCurrency: "<value>",
14 refundDestination: "<value>",
15 signature: "<value>",
16 },
17 metadata: {
18 chainId: 7497.17,
19 contractAddress: "<value>",
20 sender: "<value>",
21 },
22 },
23};

Fields

FieldTypeRequiredDescription
transferIntentoperations.TransferIntent✔️N/A