# Starknet

Send, receive, and manage assets on Starknet — including STRK, WBTC, USDC, and any ERC-20 token. Starknet provides instant, low-cost transactions with programmable smart contracts, making it ideal for agentic trading and DeFi.

### Check balance

```bash
xverse-wallet starknet balance --json
```

Returns all ERC-20 token balances on Starknet. Filter for specific tokens:

```bash
xverse-wallet starknet balance --filter "WBTC|USDC" --json
```

### Receive on Starknet

```bash
xverse-wallet starknet receive --json
```

Returns your Starknet address for receiving tokens.

### Send tokens

Send STRK, WBTC, USDC, or any ERC-20 token:

```bash
# Preview
xverse-wallet starknet send --to <address> --amount 10 --token STRK --json

# Execute
xverse-wallet starknet send --to <address> --amount 10 --token STRK --yes --json
```

#### Options

| Option                   | Description                                                |
| ------------------------ | ---------------------------------------------------------- |
| `--to <address>`         | Destination Starknet address                               |
| `--amount <value>`       | Amount to send                                             |
| `--token <contract>`     | Token to send (default: STRK). Symbol or contract address. |
| `--fee-token <contract>` | Token to pay gas with (if sponsorship unavailable)         |
| `--yes`                  | Execute (omit for dry run)                                 |

> **Note:** Transaction sponsorship is automatic when available. If unavailable, you must specify `--fee-token` with a token you hold a balance of.

### Transaction history

```bash
xverse-wallet starknet history --token STRK --json
xverse-wallet starknet history --token WBTC --limit 10 --json
```

### WBTC Staking

Stake WBTC on Starknet to earn STRK rewards.

#### Check staking position

```bash
xverse-wallet starknet staking status --json
```

#### Stake WBTC

```bash
# Preview
xverse-wallet starknet staking deposit --token wbtc --amount 0.01 --json

# Execute
xverse-wallet starknet staking deposit --token wbtc --amount 0.01 --fee-token <contract> --yes --json
```

#### Withdraw (7-day cooldown)

```bash
# Start withdrawal
xverse-wallet starknet staking withdraw-intent --amount 0.01 --fee-token <contract> --yes --json

# Complete after cooldown
xverse-wallet starknet staking withdraw --fee-token <contract> --yes --json
```

#### Claim STRK rewards

```bash
xverse-wallet starknet staking claim --fee-token <contract> --yes --json
```

#### Earning overview

For a guided view of your staking position, claimable rewards, and suggested next actions:

```bash
xverse-wallet earn status --json
xverse-wallet earn guide
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xverse.app/xverse-agentic-wallet/capabilities/starknet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
