Skip to content

Commit

Permalink
fetch-onramp-transaction-status.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
intls committed Mar 8, 2025
1 parent 5cd1eb2 commit a2e74b5
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ const transactions = await fetchOnrampTransactionStatus({

```json [return value]
{
transactions: [
"transactions": [
{
id: "tx123",
status: "ONRAMP_TRANSACTION_STATUS_SUCCESS",
purchaseAmount: { value: "0.1", currency: "ETH" },
paymentAmount: { value: "200.00", currency: "USD" },
network: "ethereum",
createdAt: "2024-01-01T12:00:00Z"
"id": "tx123",
"status": "ONRAMP_TRANSACTION_STATUS_SUCCESS",
"purchaseAmount": { "value": "0.1", "currency": "ETH" },
"paymentAmount": { "value": "200.00", "currency": "USD" },
"network": "ethereum",
"createdAt": "2024-01-01T12:00:00Z"
}
],
nextPageKey: "next_page_token",
totalCount: "1"
"nextPageKey": "next_page_token",
"totalCount": "1"
}
```

Expand Down

0 comments on commit a2e74b5

Please sign in to comment.