Actions46
- Account Actions
- Alcor Exchange (DEX) Actions
- Asset Actions
- Governance Actions
- History Actions
- Marketplace (AtomicMarket) Actions
- Nefty (Blends & Packs) Actions
- Smart Contract Action Actions
- Token Actions
Account → Buy RAM
AI-generatedSummary
Buys RAM on the WAX blockchain for a specified account, paying with a given amount of WAX, signed with the credential's private key and the configured authorization.
Inputs
- endpoint (required) — WAX API endpoint to use. Choose Greymass (default), EOS Nation, EOSphere, Pink.gg, WAX Sweden, or Custom.
- customEndpoint — Custom API endpoint URL. Shown only when Endpoint is Custom.
- account (required) — WAX account name that the operation applies to (the RAM account).
- amount (required) — Amount of WAX to spend on RAM. Defaults to 1.
- authorization — Optional list of authorizations. Each has an actor, a permission (active, owner, or custom) and a custom permission name when permission is custom.
Output shape
One output item per input item. The exact fields of a successful result are not visible in the available source, because the resource handlers are not included in the pack.
The node needs the waxKitPrivateKeyApi credential and checks its license key before running. The check is cached for an hour, and the node errors if the key is invalid. If Continue On Fail is enabled, a failed item returns json with success: false, error, and details. Otherwise the error stops the workflow.
Examples
Example 1: Buy 5 WAX worth of RAM for your own account using the default endpoint.
Endpoint: Greymass; Account Name: myaccount11; Amount: 5; Authorization: actor myaccount11, permission active.
Example 2: Buy RAM through a self-hosted node.
Endpoint: Custom; Custom Endpoint URL: https://my-wax-node.example.com; Account Name: myaccount11; Amount: 2.