w3-io/W3 Vault Action
Deposit and withdraw USDC from W3 Yelay vaults, with cross-chain CCTP bridging
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Operation to perform. Submitting (signs + broadcasts via the W3 bridge): deposit, redeem, status, withdraw-oldest, withdraw-by-id, list-deposits. Intent-building (returns unsigned tx payload for external signers): build-deposit, build-approve. | yes | — |
| po-id | Purchase order identifier for deposit tracking | no | — |
| amount | USDC amount as string (e.g. "1000.00"). For build-approve, MUST be exact (max-uint disallowed). | no | — |
| source-chain | Source chain for USDC (default: base). For cross-chain, CCTP bridges to Base first. | no | base |
| receiver | Receiver address. Required by build-deposit. Defaults to signer for direct deposit/redeem. | no | — |
| spender | Spender address for build-approve. Defaults to the configured environment's vault. | no | — |
| environment | Vault environment: testing (Base, projectId=1), base-production (Base, projectId=1), ethereum-production (Ethereum, projectId=30301 — the W3 Vault that payments.w3.io reads APY from), or production (alias of base-production, for backwards compatibility). | no | testing |
| sandbox | Use Circle IRIS sandbox for attestation (default: false) | no | false |
| from | Start index for deposit pagination (default: 0) | no | 0 |
| to | End index for deposit pagination (default: 10) | no | 10 |
Outputs
| name | description |
|---|---|
| result | JSON result of the operation |