Add Plasma (PLASMA_WALLET) to Grid public API schema - #724
Conversation
Add the public Plasma wallet type (EVM 0x address, USDT asset) mirroring the existing Tron wallet: PlasmaWalletInfo, PaymentPlasmaWalletInfo, and PlasmaWalletExternalAccountInfo, plus PLASMA_WALLET in the account-type enums, PLASMA in CryptoNetwork, and the external-account and payment-instructions discriminator unions. Includes docs and .stainless sync; make build rebundled.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
✱ Stainless preview builds for gridThis PR will update the cli go kotlin openapi php python ruby typescript ✅ grid-ruby studio · code
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
⚡ Heads up on the red Detect breaking changes check — this is expected and by design for adding a new wallet type. All 45 findings are The workflow's design is to label such PRs Review response generated using an automated agent. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
@greptile review |
Greptile SummaryThis PR extends the Grid public API schema with a new
Confidence Score: 5/5This PR is safe to merge — it is a purely additive schema extension with no changes to existing behavior. The change adds new enum values and new schemas that are completely backwards-compatible. Every new artifact follows the exact same three-file composition pattern already used by Tron, Polygon, Base, and Ethereum wallets. All four discriminator unions are updated consistently, and the bundled outputs match the source. The docs snippet is accurate to the schema. No existing types or values are modified. Files Needing Attention: No files require special attention.
|
| Filename | Overview |
|---|---|
| openapi/components/schemas/common/PlasmaWalletInfo.yaml | New base wallet info schema; mirrors TronWalletInfo exactly with correct required fields and EVM-style 0x address example. |
| openapi/components/schemas/common/PaymentPlasmaWalletInfo.yaml | New payment instruction schema; correctly composes BasePaymentAccountInfo + PlasmaWalletInfo with optional assetType: USDT, consistent with all sibling wallet types. |
| openapi/components/schemas/external_accounts/PlasmaWalletExternalAccountInfo.yaml | New external account info schema composing BaseExternalAccountInfo + PlasmaWalletInfo; exact mirror of TronWalletExternalAccountInfo. |
| openapi/components/schemas/common/PaymentInstructions.yaml | PLASMA_WALLET added to both the oneOf array and discriminator mapping; consistent with all other wallet additions. |
| openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml | PlasmaWalletExternalAccountInfo added to oneOf and discriminator mapping correctly. |
| openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml | PlasmaWalletExternalAccountInfo added to oneOf and discriminator mapping correctly. |
| .stainless/stainless.yml | plasma_wallet_info resource mapping and allOf[0] strip entries added; mirrors the Tron and Polygon wallet entries exactly. |
| mintlify/snippets/internal-accounts.mdx | Plasma Stablecoin Funding accordion added with correct accountType, assetType, and address fields matching the new schema. |
| openapi/components/schemas/crypto/CryptoNetwork.yaml | PLASMA added to the CryptoNetwork enum, correctly placed between TRON and SPARK. |
Reviews (3): Last reviewed commit: "feat: add Plasma (PLASMA_WALLET) to Grid..." | Re-trigger Greptile
|
@greptile review |
|
📌 Bolt Status 2026-07-29 23:47:47 UTC — ⚡ Agent |

Summary
Adds the public Plasma wallet type to the Grid API, mirroring the existing Tron wallet. Plasma is an EVM chain, so wallets use
0xaddresses and the asset isUSDT.Changes
PlasmaWalletInfo,PaymentPlasmaWalletInfo(assetUSDT),PlasmaWalletExternalAccountInfoPLASMA_WALLETadded toPaymentAccountTypeandExternalAccountTypePLASMAadded toCryptoNetworkPLASMA_WALLETwired into the external-account and payment-instructions discriminator unions.stainless/stainless.ymlsynced;make buildrebundledopenapi.yaml+mintlify/openapi.yaml;make lint-openapicleanDraft: this is the public surface for USDT-on-Plasma and lands only when we choose to expose Plasma to integrators. The webdev client is regenerated from this schema in a companion PR.
Requested by @jklein24