Documentation Index
Fetch the complete documentation index at: https://docs.cowboy.inc/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Subcommands
cowboy entitlement grant
Grant an entitlement — a bounded, revocable permission for one address to use resources controlled by another.
Behavior:
- Load the private key using key auto-discovery.
- Build an
EntitlementGranttransaction with the supplied scope and limits. - Submit it and print the transaction hash.
--action against the --scope-actor within the declared limits until the entitlement is explicitly revoked or exhausted.
Flags:
| Flag | Default | Description |
|---|---|---|
--grantee | Required | Address that receives the permission |
--scope-actor | Required | Actor whose resources are entitled |
--action | Required | Action name. Currently supported: use-owner-balance |
--max-total-amount | Unbounded | Total budget for this entitlement, in CBY |
--max-amount-per-use | Unbounded | Per-use cap, in CBY |
--private-key | Auto-discovered | Granter’s private key |
--rpc-url | Auto-discovered | RPC endpoint |
Edge Cases
- Only the
use-owner-balanceaction is currently defined. Other action names are rejected at submission time. - Grants are revocable with a future
cowboy entitlement revoke(tracked separately). - Limits are tracked on-chain as part of actor state; once exhausted, subsequent uses revert.

