Skip to content

Commit bd72c8d

Browse files
authored
docs: explicitly mark sendToken and deposit-address routes as disabled (#1455)
1 parent 38b4c94 commit bd72c8d

21 files changed

Lines changed: 141 additions & 1041 deletions

File tree

src/content/docs/controller/deploy-token.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ axelard q evm latest-batched-commands avalanche
6262
axelard q evm gateway-address avalanche
6363
```
6464

65-
Submitting this batched data is similar to the description in [Send AXL to an EVM chain](/pages/learn/cli/axl-to-evm).
65+
To submit the batched data, use a wallet such as MetaMask to send a transaction to the Axelar gateway contract address (shown above) on the EVM chain, with the `execute_data` hex pasted into the transaction's data field. Do not send any tokens with this transaction.
6666

6767
- Note the `[EVM_TOKEN_TX_HASH]` for the transaction to the gateway contract.
6868

src/content/docs/dev/axelarjs-sdk/intro.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ npm i @axelar-network/axelarjs-sdk
1313

1414
Current modules:
1515

16-
- `AxelarAssetTransfer`
17-
18-
- Used for cross-chain token transfer via deposit address generation.
19-
- [Token Transfer via Deposit Address](/dev/axelarjs-sdk/token-transfer-dep-addr/).
20-
2116
- `AxelarGMPRecoveryAPI`
2217

2318
- API library to track and recover (if needed) GMP transactions (both `callContract` and `callContractWithToken`).

src/content/docs/dev/axelarjs-sdk/token-transfer-dep-addr.mdx

Lines changed: 0 additions & 260 deletions
This file was deleted.

src/content/docs/dev/gas-service/pay-gas.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ Transactions using Axelar often have costs associated with their source chain, t
5353

5454
### Transaction fees
5555

56-
To simplify paying for transaction pricing through the pipeline, Axelar has two general solutions:
57-
58-
- For General Message Passing (function calls to `callContract()` or `callContractWithToken()`), a chain-agnostic relaying service is implemented to accept gas payments from users on the source chain in its native currency.
59-
- For token transfers, a fixed “relayer fee” is deducted from the amount of assets being transferred cross-chain.
56+
To simplify paying for transaction pricing through the pipeline, Axelar implements a chain-agnostic relaying service for General Message Passing (function calls to `callContract()` or `callContractWithToken()`) that accepts gas payments from users on the source chain in its native currency.
6057

6158
All costs can be seen on [Axelarscan](https://axelarscan.io/) by looking at a specific transaction — for example, [from Moonbeam to BNB Chain](https://axelarscan.io/gmp/0x598d35609919bc6c0737ae229af56b2135ccf5c1b031e1bd8d45f4ec4190e5a4:65).
6259

src/content/docs/dev/gas-service/pricing.mdx

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,10 @@ Transactions using Axelar often have costs associated on their source chain, the
77
1. Relaying to the gateway contract on the destination chain
88
1. Executing the destination smart contract with the payload
99

10-
To simplify paying for transaction pricing through the pipeline, Axelar has two general solutions to this problem.
11-
12-
- For token transfers, a fixed "relayer fee" is deducted from the amount of assets being transferred cross-chain.
13-
- For General Message Passing (`callContract` and `callContractWithToken`), a chain-agnostic gas relaying service is implemented to accept gas payments from users on the source chain in its native currency.
10+
To simplify paying for transaction pricing through the pipeline, Axelar implements a chain-agnostic gas relaying service for General Message Passing (`callContract` and `callContractWithToken`) that accepts gas payments from users on the source chain in its native currency.
1411

1512
All costs can be seen on [Axelarscan](https://axelarscan.io) by looking at a specific transaction, [from Moonbeam to BNB Chain for example](https://axelarscan.io/gmp/0x598d35609919bc6c0737ae229af56b2135ccf5c1b031e1bd8d45f4ec4190e5a4:65).
1613

17-
## Token transfers via `sendToken` or `getDepositAddress`
18-
19-
Prices are fixed based on the source chain, destination chain, and asset. You can query these directly on the Axelar network or refer to the `Resources` tab under the `Cross-chain relayer gas fee` section.
20-
21-
Whether you are transferring 10 axlUSDC or 10,000,000 axlUSDC, the cost is the same. The amount sent in a transaction must exceed the cost of the fee; it otherwise remains in the queue until the aggregate amount exceeds the fee.
22-
23-
Asset transfers were designed this way to give users a `one click` experience. This simplified UX makes it so that users are not required to submit multiple blockchain transactions approving payments in addition to the transactions for sending the tokens.
24-
2514
## callContract (General Message Passing)
2615

2716
For general message passing, Axelar's gas service allows the user/dApp to pay all of the gas costs in a single transaction on the source chain in its native currency. To pay for each blockchain transaction, the gas service uses current conversion rates to translate the gas paid on the source chain for the gas cost used by Axelar and the destination chains.
@@ -53,8 +42,9 @@ The `estimateGasFee` method exposes two additional optional parameters to enhanc
5342

5443
The remainder of any gas paid upfront for a transaction that is not used by our gas service is refunded to the specified refund address.
5544

56-
`Refund = Gas deposit - Network Base Fee - Execution Fee - approximate gas to process the refund**.`
57-
\*\*Gas estimated to transfer the refund is usually a bit higher than the actual gas used.
45+
`Refund = Gas deposit - Network Base Fee - Execution Fee - approximate gas to process the refund`
46+
47+
_Note: the gas estimated to transfer the refund is usually a bit higher than the actual gas used._
5848

5949
#### RoundTrips Transactions (Two-way calls)
6050

@@ -88,9 +78,9 @@ Fees for GMP express include all of the same fees as `callContractWithToken`, pl
8878

8979
For GMP Express transactions, the total refund will then be:
9080

91-
`Refund = Gas deposit - Express fee - Gas used to execute express method - Network Base Fee - Execution Fee - approximate gas to process the refund**.`
81+
`Refund = Gas deposit - Express fee - Gas used to execute express method - Network Base Fee - Execution Fee - approximate gas to process the refund`
9282

93-
\*\*Gas estimated to transfer the refund is usually a bit higher than the actual gas used.
83+
_Note: the gas estimated to transfer the refund is usually a bit higher than the actual gas used._
9484

9585
## Interchain Tokens
9686

src/content/docs/dev/general-message-passing/debug/transaction-recovery.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Transactions have typically gotten "stuck" in the pipeline due to:
99
Users can recover a transaction that gets stuck in the pipeline by either:
1010

1111
1. Searching for the transaction in the Axelarscan UI and having it invoke recovery.
12-
2. Incorporating the [AxelarJS SDK](/dev/axelarjs-sdk/token-transfer-dep-addr) and invoking those methods directly.
12+
2. Incorporating the [AxelarJS SDK](/dev/axelarjs-sdk/tx-status-query-recovery/) and invoking those methods directly.
1313

1414
## 1. Axelarscan UI
1515

src/content/docs/dev/send-tokens/deprecated/deposit-address.mdx

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)