CreateCoinbaseChargeResponse - TypeScript SDK

CreateCoinbaseChargeResponse type definition

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

Returns the calldata to fulfill the transaction

Example Usage

1import { CreateCoinbaseChargeResponse } from "@openrouter/sdk/models/operations";
2
3let value: CreateCoinbaseChargeResponse = {
4 data: {
5 id: "<id>",
6 createdAt: "1723897831264",
7 expiresAt: "1744713163031",
8 web3Data: {
9 transferIntent: {
10 callData: {
11 deadline: "<value>",
12 feeAmount: "<value>",
13 id: "<id>",
14 operator: "<value>",
15 prefix: "<value>",
16 recipient: "<value>",
17 recipientAmount: "<value>",
18 recipientCurrency: "<value>",
19 refundDestination: "<value>",
20 signature: "<value>",
21 },
22 metadata: {
23 chainId: 7497.17,
24 contractAddress: "<value>",
25 sender: "<value>",
26 },
27 },
28 },
29 },
30};

Fields

FieldTypeRequiredDescription
dataoperations.CreateCoinbaseChargeData✔️N/A