Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .claude/skills/grid-api/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Returns:
- `totalFee` — total cost in withdrawal currency (network fee converted + application fee)
- `netAmount` — amount recipient receives after all fees

Supported networks: `SOLANA`, `ETHEREUM`, `BASE`, `POLYGON`, `SPARK`, `LIGHTNING`, `BITCOIN`
Supported networks: `SOLANA`, `ETHEREUM`, `BASE`, `POLYGON`, `ARBITRUM`, `SPARK`, `LIGHTNING`, `BITCOIN`

### Quotes (Cross-Currency Transfers)

Expand Down Expand Up @@ -567,7 +567,7 @@ Use this flow when the user asks for a "realtime quote" or "just in time" funded

**Compatible instant methods:**

- **Crypto:** BTC (Lightning, Spark), USDC (Solana, Base, Polygon, Ethereum), USDT (Tron, Ethereum, Plasma)
- **Crypto:** BTC (Lightning, Spark), USDC (Solana, Base, Polygon, Ethereum, Arbitrum), USDT (Tron, Ethereum, Plasma, Arbitrum)
- **Fiat:** RTP, SEPA Instant, and other instant payment rails

**Flow:**
Expand Down
1 change: 1 addition & 0 deletions .claude/skills/grid-api/references/account-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ The **Available Rails** column lists the payment rails Grid may use for the crea
| SOLANA_WALLET | USDC | Solana wallet address |
| TRON_WALLET | USDT | TRON wallet address |
| PLASMA_WALLET | USDT | Plasma wallet address (0x...) |
| ARBITRUM_WALLET | USDC, USDT | Arbitrum wallet address (0x...) |
| POLYGON_WALLET | USDC | Polygon wallet address (0x...) |
| BASE_WALLET | USDC | Base wallet address (0x...) |

Expand Down
3 changes: 3 additions & 0 deletions .stainless/stainless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ resources:
solana_wallet_info: '#/components/schemas/SolanaWalletExternalAccountInfo'
tron_wallet_info: '#/components/schemas/TronWalletExternalAccountInfo'
plasma_wallet_info: '#/components/schemas/PlasmaWalletExternalAccountInfo'
arbitrum_wallet_info: '#/components/schemas/ArbitrumWalletExternalAccountInfo'
polygon_wallet_info: '#/components/schemas/PolygonWalletExternalAccountInfo'
lightning_wallet_info: '#/components/schemas/LightningExternalAccountInfo'
base_wallet_info: '#/components/schemas/BaseWalletExternalAccountInfo'
Expand Down Expand Up @@ -893,6 +894,7 @@ openapi:
- "$.components.schemas.PaymentSolanaWalletInfo.allOf[0]"
- "$.components.schemas.PaymentTronWalletInfo.allOf[0]"
- "$.components.schemas.PaymentPlasmaWalletInfo.allOf[0]"
- "$.components.schemas.PaymentArbitrumWalletInfo.allOf[0]"
- "$.components.schemas.PaymentPolygonWalletInfo.allOf[0]"
- "$.components.schemas.PaymentBaseWalletInfo.allOf[0]"
- "$.components.schemas.PaymentEthereumWalletInfo.allOf[0]"
Expand Down Expand Up @@ -947,6 +949,7 @@ openapi:
- "$.components.schemas.SolanaWalletExternalAccountInfo.allOf[0]"
- "$.components.schemas.TronWalletExternalAccountInfo.allOf[0]"
- "$.components.schemas.PlasmaWalletExternalAccountInfo.allOf[0]"
- "$.components.schemas.ArbitrumWalletExternalAccountInfo.allOf[0]"
- "$.components.schemas.PolygonWalletExternalAccountInfo.allOf[0]"
- "$.components.schemas.BaseWalletExternalAccountInfo.allOf[0]"
keys: [ "$ref" ]
Expand Down
7 changes: 7 additions & 0 deletions components/grid-visualizer/src/data/account-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,13 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
],
beneficiaryRequired: false,
},
ARBITRUM_WALLET: {
accountType: 'ARBITRUM_WALLET',
fields: [
{ name: 'address', example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' },
],
beneficiaryRequired: false,
},
AED_ACCOUNT: {
accountType: 'AED_ACCOUNT',
fields: [
Expand Down
2 changes: 2 additions & 0 deletions components/grid-visualizer/src/data/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const cryptoAssets: CryptoAsset[] = [
{ type: 'POLYGON_WALLET', label: 'Wallet', network: 'Polygon' },
{ type: 'BASE_WALLET', label: 'Wallet', network: 'Base' },
{ type: 'ETHEREUM_WALLET', label: 'Wallet', network: 'Ethereum' },
{ type: 'ARBITRUM_WALLET', label: 'Wallet', network: 'Arbitrum' },
],
examplePerson: { fullName: 'Alex Rivera', nationality: 'US' },
},
Expand All @@ -44,6 +45,7 @@ export const cryptoAssets: CryptoAsset[] = [
{ type: 'TRON_WALLET', label: 'Wallet', network: 'Tron' },
{ type: 'ETHEREUM_WALLET', label: 'Wallet', network: 'Ethereum' },
{ type: 'PLASMA_WALLET', label: 'Wallet', network: 'Plasma' },
{ type: 'ARBITRUM_WALLET', label: 'Wallet', network: 'Arbitrum' },
],
examplePerson: { fullName: 'Sam Chen', nationality: 'US' },
},
Expand Down
70 changes: 68 additions & 2 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 34 additions & 2 deletions mintlify/snippets/external-accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1838,6 +1838,38 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/customers/external-acco
}'
```

**Arbitrum**

Supported assets: USDC, USDT.

```bash cURL USDC
curl -X POST 'https://api.lightspark.com/grid/2025-10-13/customers/external-accounts' \
-u "$GRID_CLIENT_ID:$GRID_CLIENT_SECRET" \
-H 'Content-Type: application/json' \
-d '{
"currency": "USDC",
"platformAccountId": "arbitrum_usdc_001",
"accountInfo": {
"accountType": "ARBITRUM_WALLET",
"address": "0xAbCDEF1234567890aBCdEf1234567890ABcDef12"
}
}'
```

```bash cURL USDT
curl -X POST 'https://api.lightspark.com/grid/2025-10-13/customers/external-accounts' \
-u "$GRID_CLIENT_ID:$GRID_CLIENT_SECRET" \
-H 'Content-Type: application/json' \
-d '{
"currency": "USDT",
"platformAccountId": "arbitrum_usdt_001",
"accountInfo": {
"accountType": "ARBITRUM_WALLET",
"address": "0xAbCDEF1234567890aBCdEf1234567890ABcDef12"
}
}'
```

**Lightning**

Exactly one of `lightningAddress`, `invoice` (a single-use BOLT11 invoice) or `bolt12`
Expand All @@ -1858,8 +1890,8 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/customers/external-acco
```
<Note>
Crypto wallets don't require beneficiary information. Send only assets on the
named network — EVM addresses look identical across Ethereum, Base, Polygon and
Plasma, and funds sent on the wrong network are unrecoverable.
named network — EVM addresses look identical across Ethereum, Base, Polygon,
Plasma, and Arbitrum, and funds sent on the wrong network are unrecoverable.
</Note>
</Tab>
</Tabs>
Expand Down
14 changes: 14 additions & 0 deletions mintlify/snippets/internal-accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,20 @@ Each internal account includes `fundingPaymentInstructions` that tell your custo
```
</Accordion>

<Accordion title="Arbitrum Stablecoin Funding">
For Arbitrum wallet accounts, using an Arbitrum wallet as the funding source (USDC or USDT):

```json
{
"accountOrWalletInfo": {
"accountType": "ARBITRUM_WALLET",
"assetType": "USDC",
"address": "0xAbCDEF1234567890aBCdEf1234567890ABcDef12"
}
}
```
</Accordion>

<Accordion title="Polygon Stablecoin Funding">
For Polygon wallet accounts, using a Polygon wallet as the funding source:

Expand Down
2 changes: 2 additions & 0 deletions mintlify/snippets/sending/crypto-funding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Transfers can be funded via USDC and BTC on popular blockchains including Solana
| Tron | USDT |
| Polygon | USDC |
| Ethereum | USDC, USDT |
| Plasma | USDT |
| Arbitrum | USDC, USDT |
| Lightning | BTC |
| Spark | BTC |

Expand Down
Loading
Loading