> ## Documentation Index
> Fetch the complete documentation index at: https://docs.portalhq.io/llms.txt
> Use this file to discover all available pages before exploring further.

# delegations.getStatus

> Get the status of a token delegation.

## Function Signature

```dart theme={null}
Future<DelegationStatusResponse> getStatus({
  required String chain,
  required String token,
  required String delegateAddress,
})
```

## Description

Query current delegation state, balances, and active delegations for a specific token and delegate address.

## Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `chain` | `String` | Yes | CAIP-2 chain ID (e.g., `"eip155:11155111"` for Sepolia) |
| `token` | `String` | Yes | Token symbol or address (e.g., `"USDC"`) |
| `delegateAddress` | `String` | Yes | The delegate address to query status for |

## Returns

**`DelegationStatusResponse`** - An object containing:

| Property | Type | Description |
| - | - | - |
| `chainId` | `String` | Chain identifier |
| `token` | `String` | Token symbol |
| `tokenAddress` | `String` | Address of the token |
| `tokenAccount` | `String?` | Token account (Solana) |
| `balance` | `String?` | Current balance |
| `balanceRaw` | `String?` | Raw balance value |
| `delegations` | `List<DelegationStatus?>` | Array of delegation status objects with address and delegate amounts |

## Example

```dart theme={null}
import 'package:portal_flutter/portal_flutter.dart';

final portal = Portal();

final status = await portal.delegations.getStatus(
  chain: 'eip155:11155111',
  token: 'USDC',
  delegateAddress: '0x1234...',
);

print('Delegations: ${status.delegations.length}');
```

## Errors

| Code | Description |
| - | - |
| `NOT_INITIALIZED` | Portal was not initialized |
| `DELEGATION_FAILED` | Failed to get delegation status |

## Related

* [Manage Token Delegations guide](../guide/delegations)
* [delegations.approve](./delegations-approve)
* [delegations.revoke](./delegations-revoke)
* [delegations.transferFrom](./delegations-transferfrom)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.