diff --git a/docs/api/btc-onchain-send.mdx b/docs/api/btc-onchain-send.mdx index 407b2093..b3f2414a 100644 --- a/docs/api/btc-onchain-send.mdx +++ b/docs/api/btc-onchain-send.mdx @@ -7,7 +7,7 @@ slug: /api/btc-onchain-send import { AuthProvider } from '/src/components/apiTutorial/AuthContext'; import { SetApiEndpoint } from '/src/components/apiTutorial/SetApiEndpoint'; import { SetAuthToken } from '/src/components/apiTutorial/SetAuthToken'; -import { GetWalletDataUsd } from '/src/components/apiTutorial/GetWalletDataUsd'; +import { GetWalletDataBtc } from '/src/components/apiTutorial/GetWalletDataBtc'; import { OnChainTxFee } from '/src/components/apiTutorial/OnChainTxFee'; import { OnChainPaymentSend } from '/src/components/apiTutorial/OnChainPaymentSend'; @@ -39,7 +39,7 @@ query Me { } ``` - + --- @@ -68,8 +68,8 @@ Send a transaction onchain from your BTC account. **The body of the GraphQL request** ```graphql -mutation onChainUsdPaymentSend($input: OnChainUsdPaymentSendInput!) { - onChainUsdPaymentSend(input: $input) { +mutation onChainPaymentSend($input: OnChainPaymentSendInput!) { + onChainPaymentSend(input: $input) { errors { message } diff --git a/docs/api/usd-onchain-send.mdx b/docs/api/usd-onchain-send.mdx index a88c50f3..78a7550d 100644 --- a/docs/api/usd-onchain-send.mdx +++ b/docs/api/usd-onchain-send.mdx @@ -68,8 +68,8 @@ The satoshi amount will be calculated based on the current exchange rate. **The body of the GraphQL request** ```graphql -mutation onChainPaymentSend($input: OnChainPaymentSendInput!) { - onChainPaymentSend(input: $input) { +mutation onChainUsdPaymentSend($input: OnChainUsdPaymentSendInput!) { + onChainUsdPaymentSend(input: $input) { errors { message } diff --git a/src/components/apiTutorial/OnChainTxFee.jsx b/src/components/apiTutorial/OnChainTxFee.jsx index 08998bd9..bd1c90fb 100644 --- a/src/components/apiTutorial/OnChainTxFee.jsx +++ b/src/components/apiTutorial/OnChainTxFee.jsx @@ -107,7 +107,7 @@ query onChainTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: Sat value={accountWalletId} onChange={handleWalletIdChange} style={{ marginLeft: '10px', width: '50%' }} - placeholder="Paste the USD wallet ID from the response above" + placeholder="Paste the BTC wallet ID from the response above" /> diff --git a/src/components/apiTutorial/legacy/OnChainTxFee.jsx b/src/components/apiTutorial/legacy/OnChainTxFee.jsx index 08998bd9..bd1c90fb 100644 --- a/src/components/apiTutorial/legacy/OnChainTxFee.jsx +++ b/src/components/apiTutorial/legacy/OnChainTxFee.jsx @@ -107,7 +107,7 @@ query onChainTxFee($walletId: WalletId!, $address: OnChainAddress!, $amount: Sat value={accountWalletId} onChange={handleWalletIdChange} style={{ marginLeft: '10px', width: '50%' }} - placeholder="Paste the USD wallet ID from the response above" + placeholder="Paste the BTC wallet ID from the response above" />