# Allbridge Classic

### /getsupportedchains

Get the list of chains supported by Squid Router, on expand.network.

<mark style="color:blue;">`GET`</mark> `https://api.expand.network/bridge/getsupportedchains`

#### Query Parameters

| Name                                       | Type   | Description                                                    |
| ------------------------------------------ | ------ | -------------------------------------------------------------- |
| bridgeId<mark style="color:red;">\*</mark> | String | Refer to the [Bridge ID](/ids/bridge-ids.md) page for details. |
| rpc                                        | String | Remote procedural call URL.                                    |

{% tabs %}
{% tab title="Sample Request" %}

```url
https://api.expand.network/bridge/getsupportedchains?bridgeId=300
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "chainName": "Ethereum",
            "chainId": "1",
            "srcChainSupported": true,
            "dstChainSupported": true
        },
        {
            "chainName": "Binance Smart Chain",
            "chainId": "56",
            "srcChainSupported": true,
            "dstChainSupported": true
        },
        {
            "chainName": "Fuse",
            "chainId": "122",
            "srcChainSupported": false,
            "dstChainSupported": true
        },
        {
            "chainName": "Polygon",
            "chainId": "137",
            "srcChainSupported": true,
            "dstChainSupported": true
        },
        {
            "chainName": "Fantom",
            "chainId": "250",
            "srcChainSupported": true,
            "dstChainSupported": true
        },
        {
            "chainName": "Solana",
            "chainId": "900",
            "srcChainSupported": false,
            "dstChainSupported": true
        },
        {
            "chainName": "Near",
            "chainId": "1200",
            "srcChainSupported": false,
            "dstChainSupported": true
        },
        {
            "chainName": "Stellar",
            "chainId": "1500",
            "srcChainSupported": true,
            "dstChainSupported": true
        },
        {
            "chainName": "XRP Ledger",
            "chainId": "1600",
            "srcChainSupported": true,
            "dstChainSupported": true
        },
        {
            "chainName": "Stacks",
            "chainId": "1700",
            "srcChainSupported": false,
            "dstChainSupported": true
        },
        {
            "chainName": "KOII",
            "chainId": "7777",
            "srcChainSupported": false,
            "dstChainSupported": true
        },
        {
            "chainName": "Kaia",
            "chainId": "8217",
            "srcChainSupported": false,
            "dstChainSupported": true
        },
        {
            "chainName": "Celo",
            "chainId": "42220",
            "srcChainSupported": false,
            "dstChainSupported": true
        },
        {
            "chainName": "Avalanche",
            "chainId": "43114",
            "srcChainSupported": true,
            "dstChainSupported": true
        },
        {
            "chainName": "Harmony",
            "chainId": "1666600000",
            "srcChainSupported": false,
            "dstChainSupported": true
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### /getsupportedtokens

Get the list of tokens supported by Squid Router, on the specified chain, on expand.network.

<mark style="color:blue;">`GET`</mark> `https://api.expand.network/bridge/getsupportedtokens`

#### Query Parameters

| Name                                       | Type   | Description                                                                                  |
| ------------------------------------------ | ------ | -------------------------------------------------------------------------------------------- |
| bridgeId<mark style="color:red;">\*</mark> | String | Refer to the [Bridge ID](/ids/bridge-ids.md) page for details.                               |
| rpc                                        | String | Remote procedural call URL.                                                                  |
| chainId<mark style="color:red;">\*</mark>  | String | Refer to the [Chain ID](/ids/bridge-ids/internal-chain-ids-for-bridges.md) page for details. |

{% tabs %}
{% tab title="Sample Request" %}

```url
https://api.expand.network/bridge/getsupportedtokens?bridgeId=300&chainId=1
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "tokenSymbol": "APYS",
            "address": "0xf7413489c474ca4399eeE604716c72879Eea3615"
        },
        {
            "tokenSymbol": "HAPI",
            "address": "0xD9c2D319Cd7e6177336b0a9c93c21cb48d84Fb54"
        },
        {
            "tokenSymbol": "ABR",
            "address": "0xa11bD36801d8fa4448F0ac4ea7A62e3634cE8C7C"
        },
        {
            "tokenSymbol": "ETH",
            "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
        },
        {
            "tokenSymbol": "USDC",
            "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        },
        {
            "tokenSymbol": "USDT",
            "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
        },
        {
            "tokenSymbol": "ARDN",
            "address": "0xb1c9bc94aCd2fAE6aABf4ffae4429B93512a81D2"
        },
        {
            "tokenSymbol": "DUCKIES",
            "address": "0x90b7E285ab6cf4e3A2487669dba3E339dB8a3320"
        },
        {
            "tokenSymbol": "WBTC",
            "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
        },
        {
            "tokenSymbol": "PEN",
            "address": "0x5Ee3188A3f8aDee1D736EdD4AE85000105C88f66"
        },
        {
            "tokenSymbol": "KOII",
            "address": "0xAC5C23Cc0bF378B2f2D53da71d407B6Deb94C294"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### /getprice

Get the swap quotation for the given token pairs.

<mark style="color:blue;">`GET`</mark> `https://api.expand.network/bridge/getprice`

#### Query Parameter

| Name                                             | Type   | Description                                                                                                             |
| ------------------------------------------------ | ------ | ----------------------------------------------------------------------------------------------------------------------- |
| rpc                                              | String | Remote procedural call URL.                                                                                             |
| bridgeId<mark style="color:red;">\*</mark>       | String | Refer to the [Bridge ID](https://docs.expand.network/important-ids/bridge-id) page for details.                         |
| srcChainId<mark style="color:red;">\*</mark>     | String | [Chain Id](https://docs.expand.network/important-ids/bridge-id/internal-chain-ids-for-bridge) of the source chain.      |
| dstChainId<mark style="color:red;">\*</mark>     | String | [Chain Id](https://docs.expand.network/important-ids/bridge-id/internal-chain-ids-for-bridge) of the destination chain. |
| srcTokenSymbol<mark style="color:red;">\*</mark> | String | Source token symbol.                                                                                                    |
| amountIn<mark style="color:red;">\*</mark>       | String | Amount of token.                                                                                                        |

{% tabs %}
{% tab title="Sample Response" %}

```url
https://api.expand.network/bridge/getprice?bridgeId=300&srcTokenSymbol=ABR&amountIn=1000000&dstChainId=137&srcChainId=1
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": {
        "srcChainId": "1",
        "dstChainId": "137",
        "srcTokenSymbol": "ABR",
        "amountIn": "1000000",
        "amountsOut": [
            "1000000",
            "999000"
        ]
    }
}
```

{% endtab %}
{% endtabs %}

### /getsignature

Retrieves the signature details using the transaction hash of swap.

<mark style="color:blue;">`GET`</mark> `https://api.expand.network/bridge/getsignature`

#### Query Parameter

| Name                                              | Type   | Description                                                                                     |
| ------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------- |
| rpc                                               | String | Remote procedural call URL.                                                                     |
| bridgeId<mark style="color:red;">\*</mark>        | String | Refer to the [Bridge ID](https://docs.expand.network/important-ids/bridge-id) page for details. |
| transactionHash<mark style="color:red;">\*</mark> | String | Transaction hash.                                                                               |

{% tabs %}
{% tab title="Sample Request" %}

```url
https://api.expand.network/bridge/getsignature?bridgeId=300&transactionHash=0x99a84b7795cb31c11eb70282ef7d8ae3e214edb36b1bea8a65419478130335e8
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": {
        "block": "19912625",
        "lockId": "1560796505155024044581883139481320798",
        "srcChainId": "1",
        "dstChainId": "56",
        "srcToken": "0xa11bd36801d8fa4448f0ac4ea7a62e3634ce8c7c000000000000000000000000",
        "amount": "4720825560495",
        "receiver": "0x65a8f07bd9a8598e1b5b6c0a88f4779dbc077675",
        "primarySignature": "0x2731e3f1a9385f1fec164b4e4c5745763faddfdc544c725bed6dc64ae1fc8758787250ccb12467ee27c6aa2c6b331ea483104bdb5aeba802f7f50d9f31580d851c"
    }
}
```

{% endtab %}
{% endtabs %}

### /gettransaction

Retrieves the details of the transaction.

<mark style="color:blue;">`GET`</mark> `https://api.expand.network/bridge/gettransaction`

#### Query Parameter

| Name                                              | Type   | Description                                                                                                                                                                                        |
| ------------------------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| rpc                                               | String | Remote procedural call URL.                                                                                                                                                                        |
| bridgeId<mark style="color:red;">\*</mark>        | String | Refer to the [Bridge ID](https://docs.expand.network/important-ids/bridge-id) page for details.                                                                                                    |
| transactionHash<mark style="color:red;">\*</mark> | String | Transaction hash.                                                                                                                                                                                  |
| srcChainId                                        | String | <p> <a href="https://docs.expand.network/important-ids/bridge-id/internal-chain-ids-for-bridge">Chain Id</a> of the source chain.<br>If txn involve Stellar, use Stellar chainId as srcChainId</p> |

{% tabs %}
{% tab title="Sample Request" %}

```url
https://api.expand.network/bridge/gettransaction?bridgeId=300&transactionHash=0x6cb511887f3c4dfbc8e2eacd346c7a8959f9debfcffc347862957ac41a0dfae1&srcChainId=56
```

{% endtab %}

{% tab title="Sample Response" %}

```
{
    "status": 200,
    "msg": "success",
    "data": {
        "status": "EXECUTED",
        "srcTx": {
            "chainId": "56",
            "hash": "0x6cb511887f3c4dfbc8e2eacd346c7a8959f9debfcffc347862957ac41a0dfae1",
            "transactionStatus": true,
            "blockNumber": "39529386",
            "timestamp": null,
            "from": "0x8c463874382b7F8582ED01650f8B30a82690612f",
            "to": "0xBBbD1BbB4f9b936C3604906D7592A644071dE884",
            "value": "0",
            "transactionFees": "738948000000000",
            "gas": "251116",
            "gasPrice": "3000000000",
            "input": "0x7bacc91e000000000000000000000000000000000194a8da392a86e5105f3e70f723a08c00000000000000000000000068784ffaa6ff05e3e04575df77960dc1d9f42b4a76657274612e6e656172000000000000000000000000000000000000000000004e45415200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065afd0425c28a6611e",
            "nonce": 73564,
            "type": 2,
            "network": null,
            "v": "0x1",
            "r": "0xc9e8a7cabed672570a9abf2681fa0d93ffaf00c7e36fa8608170542d32a9acb",
            "s": "0x6728f9251da97ab85b9db6d1c52c01c697019cd0139f18c7dab20e64d1821646",
            "yParity": "0x1",
            "transactionIndex": 12,
            "accessList": [],
            "maxFeePerGas": "3000000000",
            "maxPriorityFeePerGas": "3000000000",
            "logs": [
                {
                    "address": "0xBBbD1BbB4f9b936C3604906D7592A644071dE884",
                    "topics": [
                        "0x884a8def17f0d5bbb3fef53f3136b5320c9b39f75afb8985eeab9ea1153ee56d",
                        "0x76657274612e6e65617200000000000000000000000000000000000000000000",
                        "0x000000000000000000000000000000000194a8da392a86e5105f3e70f723a08c"
                    ],
                    "data": "0x4554480000000000000000000000000000000000000000000000000000000000a11bd36801d8fa4448f0ac4ea7a62e3634ce8c7c0000000000000000000000000000000000000000000000008c463874382b7f8582ed01650f8b30a82690612f00000000000000000000000000000000000000000000006525091f579ebe611e4e45415200000000000000000000000000000000000000000000000000000000",
                    "blockNumber": 39529386,
                    "transactionHash": "0x6cb511887f3c4dfbc8e2eacd346c7a8959f9debfcffc347862957ac41a0dfae1",
                    "transactionIndex": 12,
                    "blockHash": "0x65b4085c6ae79c78b26bb5646c20c1e9d2cd204489edf5fa918f2458595f2343",
                    "logIndex": 21,
                    "removed": false,
                    "id": "log_5c6b3e1a"
                },
                {
                    "address": "0x68784ffaa6Ff05E3e04575DF77960DC1D9F42b4a",
                    "topics": [
                        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                        "0x0000000000000000000000008c463874382b7f8582ed01650f8b30a82690612f",
                        "0x0000000000000000000000000000000000000000000000000000000000000000"
                    ],
                    "data": "0x00000000000000000000000000000000000000000000006525091f579ebe611e",
                    "blockNumber": 39529386,
                    "transactionHash": "0x6cb511887f3c4dfbc8e2eacd346c7a8959f9debfcffc347862957ac41a0dfae1",
                    "transactionIndex": 12,
                    "blockHash": "0x65b4085c6ae79c78b26bb5646c20c1e9d2cd204489edf5fa918f2458595f2343",
                    "logIndex": 22,
                    "removed": false,
                    "id": "log_b247da24"
                },
                {
                    "address": "0x68784ffaa6Ff05E3e04575DF77960DC1D9F42b4a",
                    "topics": [
                        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                        "0x0000000000000000000000008c463874382b7f8582ed01650f8b30a82690612f",
                        "0x00000000000000000000000083f53c078bf81f6d8b79e01e2ed36c473a960c5e"
                    ],
                    "data": "0x0000000000000000000000000000000000000000000000008ac7230489e80000",
                    "blockNumber": 39529386,
                    "transactionHash": "0x6cb511887f3c4dfbc8e2eacd346c7a8959f9debfcffc347862957ac41a0dfae1",
                    "transactionIndex": 12,
                    "blockHash": "0x65b4085c6ae79c78b26bb5646c20c1e9d2cd204489edf5fa918f2458595f2343",
                    "logIndex": 23,
                    "removed": false,
                    "id": "log_b4d84d4d"
                },
                {
                    "address": "0x68784ffaa6Ff05E3e04575DF77960DC1D9F42b4a",
                    "topics": [
                        "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                        "0x0000000000000000000000008c463874382b7f8582ed01650f8b30a82690612f",
                        "0x000000000000000000000000bbbd1bbb4f9b936c3604906d7592a644071de884"
                    ],
                    "data": "0x000000000000000000000000000000000000000000001522b60047f4ba480000",
                    "blockNumber": 39529386,
                    "transactionHash": "0x6cb511887f3c4dfbc8e2eacd346c7a8959f9debfcffc347862957ac41a0dfae1",
                    "transactionIndex": 12,
                    "blockHash": "0x65b4085c6ae79c78b26bb5646c20c1e9d2cd204489edf5fa918f2458595f2343",
                    "logIndex": 24,
                    "removed": false,
                    "id": "log_a078cf3d"
                }
            ]
        },
        "dstTx": {
            "hash": "GqcEiarbVVS69GoVJmZ3BPN1CL1hUr2RoqVp8pi4S5JW",
            "blockNumber": "6DD2AVD1RKsbSn6ia58EFUbK4eNPxAF6752JsJ2v7YmW",
            "timestamp": null,
            "from": "verta.near",
            "to": "bridge.a11bd.near",
            "value": null,
            "transactionFees": "2349472694870800300000",
            "gas": null,
            "gasPrice": null,
            "input": [
                {
                    "FunctionCall": {
                        "args": "eyJ1bmxvY2tfYXJncyI6eyJsb2NrX2lkIjoiMjEwMTExMjY2NTA5Mjk2OTQxOTAxNjQ1MDA4NDY5NjIwMzQwNCIsInJlY2lwaWVudCI6InZlcnRhLm5lYXIiLCJhbW91bnQiOiIxODY1Nzg5ODUwMTYwIiwibG9ja19zb3VyY2UiOiJCU0MiLCJ0b2tlbl9zb3VyY2UiOiJFVEgiLCJ0b2tlbl9zb3VyY2VfYWRkcmVzcyI6IjB4YTExYmQzNjgwMWQ4ZmE0NDQ4ZjBhYzRlYTdhNjJlMzYzNGNlOGM3YzAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCIsInNpZ25hdHVyZSI6IjNpbWpYRDhDVWNmU0dERk9NdTNtV1JQMll4UXZHeTVhM0NtL1d0bzJkSEVXSExGSWVwM0g1bGw4V2RIT2J1ajRnWnd3SFBYazIwdXBUUElhZFE3ZEZocz0ifX0=",
                        "deposit": "900000000000000000000",
                        "gas": 300000000000000,
                        "method_name": "unlock"
                    }
                }
            ],
            "network": null
        }
    }
}
```

{% endtab %}
{% endtabs %}

### /swap

Initiates a transaction to swap assets accross multiple chains.

<mark style="color:green;">`POST`</mark> `https://api.expand.network/bridge/swap`

#### Request Body

| Name                                             | Type   | Description                                                                                                             |
| ------------------------------------------------ | ------ | ----------------------------------------------------------------------------------------------------------------------- |
| rpc                                              | String | Remote procedural call URL.                                                                                             |
| bridgeId<mark style="color:red;">\*</mark>       | String | Refer to the [Bridge ID](https://docs.expand.network/important-ids/bridge-id) page for details.                         |
| srcChainId<mark style="color:red;">\*</mark>     | String | [Chain Id](https://docs.expand.network/important-ids/bridge-id/internal-chain-ids-for-bridge) of the source chain.      |
| dstChainId<mark style="color:red;">\*</mark>     | String | [Chain Id](https://docs.expand.network/important-ids/bridge-id/internal-chain-ids-for-bridge) of the destination chain. |
| srcTokenSymbol<mark style="color:red;">\*</mark> | String | Source token symbol.                                                                                                    |
| amountIn<mark style="color:red;">\*</mark>       | String | Amount of token.                                                                                                        |
| gas<mark style="color:red;">\*</mark>            | String | Maximum gas limit provided by the sender, for the transaction.                                                          |
| gas priority                                     | String | Low, medium, or high.                                                                                                   |
| from<mark style="color:red;">\*</mark>           | String | Address of the sender of the token.                                                                                     |
| to<mark style="color:red;">\*</mark>             | String | Address of the recipient of the token.                                                                                  |

{% tabs %}
{% tab title="Sample Request" %}

```json
{
    "amountIn": "1064785710830000000000",
    "dstChainId": "56",
    "srcChainId": "1",
    "from": "0x7aeaefe59a06c965aa3e93ea31be01d3b625bf18",
    "to": "0x68C7cE94055f927ea7D6331a199cec69ca2d518B",
    "srcTokenSymbol": "HAPI",
    "gas": "100",
    "bridgeId": "300"
}
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x7aeaefe59a06c965aa3e93ea31be01d3b625bf18",
        "to": "0xBBbD1BbB4f9b936C3604906D7592A644071dE884",
        "value": "0",
        "gas": "100",
        "data": "0x7bacc91e00000000000000000000000000000000019fd468745942f3a38e627e633d543b000000000000000000000000d9c2d319cd7e6177336b0a9c93c21cb48d84fb5468c7ce94055f927ea7d6331a199cec69ca2d518b0000000000000000000000004253430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000039b8dec285fdf3cc00",
        "referenceId": "7a50195a407c41829cc6e624758b514f"
    }
}
```

{% endtab %}
{% endtabs %}

#### With Gas Priority

{% tabs %}
{% tab title="Sample Request" %}

```json
{
    "amountIn": "1064785710830000000000",
    "dstChainId": "56",
    "srcChainId": "1",
    "from": "0x7aeaefe59a06c965aa3e93ea31be01d3b625bf18",
    "to": "0x68C7cE94055f927ea7D6331a199cec69ca2d518B",
    "srcTokenSymbol": "HAPI",
    "gas": "100",
    "bridgeId": "300",
    "gasPriority": "low"
}
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0x7aeaefe59a06c965aa3e93ea31be01d3b625bf18",
        "to": "0xBBbD1BbB4f9b936C3604906D7592A644071dE884",
        "value": "0",
        "gas": "100",
        "data": "0x7bacc91e000000000000000000000000000000000192c0b3f89d18ad2f12310bc2c48b29000000000000000000000000d9c2d319cd7e6177336b0a9c93c21cb48d84fb5468c7ce94055f927ea7d6331a199cec69ca2d518b0000000000000000000000004253430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000039b8dec285fdf3cc00",
        "gasPrice": "2706399108",
        "referenceId": "7c3f65bd7ec84449b759101328d1be1f"
    }
}
```

{% endtab %}
{% endtabs %}

### /unlock

Initiate the transaction to unlock asset on the destination chain.

<mark style="color:green;">`POST`</mark> `https://api.expand.network/bridge/unlock`

#### Request Body

| Name                                               | Type   | Description                                                                                                             |
| -------------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------- |
| rpc                                                | String | Remote procedural call URL.                                                                                             |
| bridgeId<mark style="color:red;">\*</mark>         | String | Refer to the [Bridge ID](https://docs.expand.network/important-ids/bridge-id) page for details.                         |
| srcChainId<mark style="color:red;">\*</mark>       | String | [Chain Id](https://docs.expand.network/important-ids/bridge-id/internal-chain-ids-for-bridge) of the source chain.      |
| dstChainId<mark style="color:red;">\*</mark>       | String | [Chain Id](https://docs.expand.network/important-ids/bridge-id/internal-chain-ids-for-bridge) of the destination chain. |
| dstTokenSymbol<mark style="color:red;">\*</mark>   | String | Destination token symbol.                                                                                               |
| amount<mark style="color:red;">\*</mark>           | String | Amount of token.                                                                                                        |
| gas<mark style="color:red;">\*</mark>              | String | Maximum gas limit provided by the sender, for the transaction.                                                          |
| gas priority                                       | String | Low, medium, or high.                                                                                                   |
| receiver<mark style="color:red;">\*</mark>         | String | Address of the receiver.                                                                                                |
| primarySignature<mark style="color:red;">\*</mark> | String | Signature required for EVM to EVM to unlock transaction.                                                                |
| secondarySignature                                 | String | Signature required for Stellar to EVM or vice - versa to unlock transaction.                                            |
| lockId<mark style="color:red;">\*</mark>           | String | Lock Id.                                                                                                                |

{% tabs %}
{% tab title="Sample Request" %}

```json
{
    "lockId": "2344087691488240225697848222060823058",
    "srcChainId": "1500",
    "dstChainId": "137",
    "amount": "200000000",
    "receiver": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
    "dstTokenSymbol": "USDC",
    "primarySignature": "0x426361bb4b3317c04cf61ea9f1b1c736568e37468e042fb485905c984e8f548d2424ebbe6e89762a9d5925140acfacdb789bdc029f4d7095cc982b94530e73211b",
    "secondarySignature": "0xb41459682c24b425f86a3d3d24f7c424025a01a92413cdaa028519c4aa8023ac38a9f23e37b97c9fa2da99f4292d647d0494f23c94658828f8846bcba8164b4b1c",
    "gas": "20000",
    "bridgeId": "300"
}
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "137",
        "from": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
        "to": "0xD5D6B2f2D7a7506C49Bb0cb6FB39a67F065d6FC4",
        "value": "0",
        "gas": "20000",
        "data": "0xb43d20c30000000000000000000000000000000001c37472362b414ea769f6366bf6c212000000000000000000000000b409cb0b5db9f148d0bc491e140d9e0fdd789c11000000000000000000000000000000000000000000000000000000000bebc200584c4d0000000000000000000000000000000000000000000000000000000000584c4d00000000000000000000000000000000000000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000041426361bb4b3317c04cf61ea9f1b1c736568e37468e042fb485905c984e8f548d2424ebbe6e89762a9d5925140acfacdb789bdc029f4d7095cc982b94530e73211b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b41459682c24b425f86a3d3d24f7c424025a01a92413cdaa028519c4aa8023ac38a9f23e37b97c9fa2da99f4292d647d0494f23c94658828f8846bcba8164b4b1c00000000000000000000000000000000000000000000000000000000000000",
        "referenceId": "db6520b0a0c04b8e85245b9e6add6ce6"
    }
}
```

{% endtab %}
{% endtabs %}

#### With  Gas Priority

{% tabs %}
{% tab title="Sample Request" %}

```json
{
    "lockId": "2344087691488240225697848222060823058",
    "srcChainId": "1500",
    "dstChainId": "137",
    "amount": "200000000",
    "receiver": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
    "dstTokenSymbol": "USDC",
    "primarySignature": "0x426361bb4b3317c04cf61ea9f1b1c736568e37468e042fb485905c984e8f548d2424ebbe6e89762a9d5925140acfacdb789bdc029f4d7095cc982b94530e73211b",
    "secondarySignature": "0xb41459682c24b425f86a3d3d24f7c424025a01a92413cdaa028519c4aa8023ac38a9f23e37b97c9fa2da99f4292d647d0494f23c94658828f8846bcba8164b4b1c",
    "gas": "20000",
    "gasPriority": "low",
    "bridgeId": "300"
}
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "137",
        "from": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
        "to": "0xD5D6B2f2D7a7506C49Bb0cb6FB39a67F065d6FC4",
        "value": "0",
        "gas": "20000",
        "data": "0xb43d20c30000000000000000000000000000000001c37472362b414ea769f6366bf6c212000000000000000000000000b409cb0b5db9f148d0bc491e140d9e0fdd789c11000000000000000000000000000000000000000000000000000000000bebc200584c4d0000000000000000000000000000000000000000000000000000000000584c4d00000000000000000000000000000000000000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000041426361bb4b3317c04cf61ea9f1b1c736568e37468e042fb485905c984e8f548d2424ebbe6e89762a9d5925140acfacdb789bdc029f4d7095cc982b94530e73211b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041b41459682c24b425f86a3d3d24f7c424025a01a92413cdaa028519c4aa8023ac38a9f23e37b97c9fa2da99f4292d647d0494f23c94658828f8846bcba8164b4b1c00000000000000000000000000000000000000000000000000000000000000",
        "gasPrice": "2771815236",
        "referenceId": "50faed4f35a44a8f981c44c8e80c3ed2"
    }
}
```

{% endtab %}
{% endtabs %}

####


---

# 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.expand.network/integrations/bridges/allbridge-classic.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.
