RAILGUN Create Wallet
Generate a new RAILGUN wallet with a fresh mnemonic and derive its 0zk address. Returns the mnemonic (KEEP SECURE!) and RAILGUN address. Ideal for: user onboarding, wallet provisioning, testing, automation workflows.
Catalog action Wallet Management
Generate a new RAILGUN wallet with a fresh mnemonic and derive its 0zk address. Returns the mnemonic (KEEP SECURE!) and RAILGUN address. Ideal for: user onboarding, wallet provisioning, testing, automation workflows.
At a Glance
| Field | Value |
|---|---|
| Action ID | railgun-create-wallet |
| Category | Wallet Management |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | railgun, privacy, wallet, create, mnemonic |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
encryptionKey | string | No | Optional: Encryption key for securing the mnemonic. If provided, the mnemonic will be encrypted. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
mnemonic | string | Yes | Generated RAILGUN wallet mnemonic (12 words). KEEP THIS SECURE! |
railgunAddress | string | Yes | The RAILGUN 0zk... address derived from the mnemonic |
encryptedMnemonic | string | No | Encrypted mnemonic (only if encryptionKey was provided) |
Examples
json{ "type": "railgun-create-wallet", "payload": { "encryptionKey": "example-encryptionKey" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/railgun-create-wallet/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "encryptionKey": "example-encryptionKey" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
