# @swing.xyz/cross-chain-api

## 1.3.1

### Patch Changes

- 31cb0cd: Optional `signature` for gasless transaction status

## 1.3.0

### Minor Changes

- dad03da: Add "mode" to quote response

### Patch Changes

- 19956f8: Quote parameter `gasless` -> `mode="gasless"`

## 1.2.0

### Minor Changes

- a79fe5f: Gassless quotes
- d93eb8a: Add fees to transactions

## 1.1.1

### Patch Changes

- ad5b2c0: Add token name to /tokens endpoints

## 1.1.0

### Minor Changes

- ecadb95: Allow chains and tokens by array of identifiers such as `/tokens?chain=ethereum&chain=solana`

## 1.0.1

### Patch Changes

- 18a5cba: Add coingecko data to chains and tokens

## 1.0.0

### Major Changes

- 01a9976: Swing Platform API /transfer route

## 0.4.0

### Minor Changes

- 5605efd: Platform points campaigns

## 0.3.0

### Minor Changes

- 71fdb99: Add endpoint to verify a completed transaction was made by a wallet address

## 0.2.0

### Minor Changes

- 5f4f512: - Remove deprecated `/config` endpoint
  - Add `affiliate` tracking parameters

## 0.1.0

### Minor Changes

- ec873d9: - Add `bitcoin` protocol type
  - Add project contracts endpoint `/projects/{projectId}/contracts`

## 0.0.12

### Patch Changes

- 98b4e45: - Add `/v0/transfer/sign/{id}` and `/v0/transfer/claim/{id}` endpoints
  - Deprecate `/v0/transfer/sign` and `/v0/transfer/sign` endpoints

## 0.0.11

### Patch Changes

- 8b98db0: Support legacy commonjs

## 0.0.10

### Patch Changes

- 60ca2e5: Update returned values for quote `type`

## 0.0.9

### Patch Changes

- cbaa568: Update returned values for quote `type`

## 0.0.8

### Patch Changes

- fb92704: Add option to override `baseUrl` and `environment`. This is useful if you need to point at a local dev server.

  ```ts
  getSwingAPI({
    baseUrl: "http://localhost:3000",
  });

  getSwingPlatformAPI({
    baseUrl: "http://localhost:4000",
  });
  ```

## 0.0.7

### Patch Changes

- d190bf8: Generate from the latest OpenAPI document

## 0.0.6

### Patch Changes

- ee5d25b: Provide default headers to the API client

## 0.0.5

### Patch Changes

- 43a7854: Add option to specify `environment` when getting the API client

## 0.0.4

### Patch Changes

- c4cf724: Add option to provide default headers on all requests.

  ```ts
  getSwingAPI({
    headers: {
      "x-swing-environment": "production",
    },
  });

  getSwingPlatformAPI({
    headers: {
      "x-swing-environment": "production",
    },
  });
  ```

## 0.0.3

### Patch Changes

- c043e17: Remove strict enum from chains, tokens, bridges, aggregators, etc

## 0.0.2

### Patch Changes

- 60ed4d4: Add getting started section to the README.md

## 0.0.1

### Patch Changes

- ba02b86: Initial release
