From 67039b0e2db2a607b097bea6fbc63ff0e1183194 Mon Sep 17 00:00:00 2001 From: Bri Wylde <92327786+briwylde08@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:09:14 -0600 Subject: [PATCH] Fix Java links (#1007) --- .../transactions/list-of-operations.mdx | 39 ++++++++++++------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/docs/learn/fundamentals/transactions/list-of-operations.mdx b/docs/learn/fundamentals/transactions/list-of-operations.mdx index 5b5395480..486357c33 100644 --- a/docs/learn/fundamentals/transactions/list-of-operations.mdx +++ b/docs/learn/fundamentals/transactions/list-of-operations.mdx @@ -13,7 +13,7 @@ There are currently 26 operations you can use on the Stellar network, these oper Creates and funds a new account with the specified starting balance -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.createAccount) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/CreateAccountOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#CreateAccount) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.createAccount) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/CreateAccountOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#CreateAccount) **Threshold**: Medium **Result**: `CreateAccountResult` **Parameters**: @@ -36,7 +36,7 @@ Creates and funds a new account with the specified starting balance Sends an amount in a specific asset to a destination account -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.payment) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/PaymentOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#Payment) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.payment) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/PaymentOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#Payment) **Threshold**: Medium **Result**: `PaymentResult` **Parameters**: @@ -66,7 +66,7 @@ A payment where the asset sent can be different than the asset received; allows Learn more about path payments: [Path Payments Encyclopedia Entry](../../encyclopedia/transactions-specialized/path-payments.mdx) -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.pathPaymentStrictSend) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/PathPaymentStrictSendOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#PathPaymentStrictSend) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.pathPaymentStrictSend) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/PathPaymentStrictSendOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#PathPaymentStrictSend) **Threshold**: Medium **Result**: `PathPaymentStrictSendResult` **Parameters**: @@ -102,7 +102,7 @@ A payment where the asset received can be different from the asset sent; allows Learn more about path payments: [Path Payments Encyclopedia Entry](../../encyclopedia/transactions-specialized/path-payments.mdx) -**SDKs**: [JavaScript](https://stellar.github.io/js-stellar-sdk/Operation.html#.pathPaymentStrictReceive) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/PathPaymentStrictReceiveOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#PathPaymentStrictReceive) +**SDKs**: [JavaScript](https://stellar.github.io/js-stellar-sdk/Operation.html#.pathPaymentStrictReceive) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/PathPaymentStrictReceiveOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#PathPaymentStrictReceive) **Threshold**: Medium **Result**: `PathPaymentStrictReceiveResult` **Parameters**: @@ -138,7 +138,7 @@ Creates, updates, or deletes an offer to buy a specific amount of an asset for a Learn more about passive sell offers: [Liquidity on Stellar: SDEX and Liquidity Pools](../../encyclopedia/sdex/liquidity-on-stellar-sdex-liquidity-pools.mdx) -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.manageBuyOffer) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/ManageBuyOfferOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ManageBuyOffer) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.manageBuyOffer) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ManageBuyOfferOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ManageBuyOffer) **Threshold**: Medium **Result**: `ManageBuyOfferResult` **Parameters**: @@ -172,7 +172,7 @@ Creates, updates, or deletes an offer to sell a specific amount of an asset for Learn more about passive sell offers: [Liquidity on Stellar: SDEX and Liquidity Pools](../../encyclopedia/sdex/liquidity-on-stellar-sdex-liquidity-pools.mdx) -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.manageSellOffer) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/ManageSellOfferOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ManageSellOffer) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.manageSellOffer) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ManageSellOfferOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ManageSellOffer) **Threshold**: Medium **Result**: `ManageSellOfferResult` **Parameters**: @@ -206,7 +206,7 @@ Creates an offer to sell one asset for another without taking a reverse offer of Learn more about passive sell offers: [Liquidity on Stellar: SDEX and Liquidity Pools](../../encyclopedia/sdex/liquidity-on-stellar-sdex-liquidity-pools.mdx) -**SDKs**: [JavaScript](https://stellar.github.io/js-stellar-sdk/Operation.html#.createPassiveSellOffer) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/CreatePassiveSellOfferOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#CreatePassiveSellOffer) +**SDKs**: [JavaScript](https://stellar.github.io/js-stellar-sdk/Operation.html#.createPassiveSellOffer) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/CreatePassiveSellOfferOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#CreatePassiveSellOffer) **Threshold**: Medium **Result**: `ManageSellOfferResult` **Parameters**: @@ -241,7 +241,7 @@ Learn more about flags: [Flags Encyclopedia Entry](../../glossary.mdx#flags) Learn more about the home domain: [Stellar Ecosystem Proposals SEP-0001](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0001.md) Learn more about signers operations and key weight: [Signature and Multisignature Encyclopedia Entry](../../encyclopedia/security/signatures-multisig.mdx) -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.setOptions) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/SetOptionsOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#SetOptions) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.setOptions) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/SetOptionsOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#SetOptions) **Threshold**: High (when updating signers or other thresholds) or Medium (when updating everything else) **Result**: `SetOptionsResult` **Parameters**: @@ -278,7 +278,7 @@ Creates, updates, or deletes a trustline Learn more about trustlines: [Trustlines section](../stellar-data-structures/accounts.mdx#trustlines) -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.changeTrust) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/ChangeTrustOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ChangeTrust) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.changeTrust) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ChangeTrustOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ChangeTrust) **Threshold**: Medium **Result**: `ChangeTrustResult` **Parameters**: @@ -307,7 +307,7 @@ Updates the authorized flag of an existing trustline This operation is deprecated as of Protocol 17- prefer SetTrustlineFlags instead -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.allowTrust) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/AllowTrustOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#AllowTrust) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.allowTrust) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/AllowTrustOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#AllowTrust) **Threshold**: Low **Result**: `AllowTrustResult` **Parameters**: @@ -333,7 +333,7 @@ This operation is deprecated as of Protocol 17- prefer SetTrustlineFlags instead Transfers the XLM balance of an account to another account and removes the source account from the ledger -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.accountMerge) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/AccountMergeOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#AccountMerge) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.accountMerge) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/AccountMergeOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#AccountMerge) **Threshold**: High **Result**: `AccountMergeResult` **Parameters**: @@ -360,7 +360,7 @@ Sets, modifies, or deletes a data entry (name/value pair) that is attached to an Learn more about entries and subentries: [Accounts section](../stellar-data-structures/accounts.mdx#subentries) -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.manageData) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/ManageDataOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ManageData) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.manageData) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ManageDataOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#ManageData) **Threshold**: Medium **Result**: `ManageDataResult` **Parameters**: @@ -383,7 +383,7 @@ Learn more about entries and subentries: [Accounts section](../stellar-data-stru Bumps forward the sequence number of the source account to the given sequence number, invalidating any transaction with a smaller sequence number -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.bumpSequence) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/BumpSequenceOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#BumpSequence) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.bumpSequence) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/BumpSequenceOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#BumpSequence) **Threshold**: Low **Result**: `BumpSequenceResult` **Parameters**: @@ -404,6 +404,7 @@ Moves an amount of asset from the operation source account into a new ClaimableB Learn more about claimable balances: [Claimable Balances Encyclopedia Entry](../../encyclopedia/transactions-specialized/claimable-balances.mdx) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/CreateClaimableBalanceOperation.java) **Threshold**: Medium **Result**: `CreateClaimableBalanceResult` **Parameters**: @@ -430,6 +431,7 @@ Claims a ClaimableBalanceEntry that corresponds to the BalanceID and adds the am Learn more about claimable balances and view more parameters: [Claimable Balances Encyclopedia Entry](../../encyclopedia/transactions-specialized/claimable-balances.mdx) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ClaimClaimableBalanceOperation.java) **Threshold**: Low **Result**: `ClaimClaimableBalanceResult` **Parameters**: @@ -456,6 +458,7 @@ There must also be an end sponsoring future reserves operation in the same trans Learn more about sponsored reserves: [Sponsored Reserves Encyclopedia Entry](../../encyclopedia/transactions-specialized/sponsored-reserves.mdx) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/BeginSponsoringFutureReservesOperation.java) **Threshold**: Medium **Result**: `BeginSponsoringFutureReservesResult` **Parameters**: @@ -478,6 +481,7 @@ Terminates the current is-sponsoring-future-reserves relationship in which the s Learn more about sponsored reserves: [Sponsored Reserves Encyclopedia Entry](../../encyclopedia/transactions-specialized/sponsored-reserves.mdx) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/EndSponsoringFutureReservesOperation.java) **Threshold**: Medium **Result**: `EndSponsoringFutureReservesResult` **Parameters**: @@ -529,7 +533,7 @@ Burns an amount in a specific asset from a receiving account Learn more about clawbacks: [Clawback Encyclopedia Entry](../../encyclopedia/transactions-specialized/clawbacks.mdx) -**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.clawback) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/ClawbackOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#Clawback) +**SDKs**: [JavaScript](http://stellar.github.io/js-stellar-sdk/Operation.html#.clawback) | [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ClawbackOperation.java) | [Go](https://godoc.org/github.com/stellar/go/txnbuild#Clawback) **Threshold**: Medium **Result**: `ClawbackResult` **Parameters**: @@ -557,6 +561,7 @@ Learn more about clawbacks: [Clawback Encyclopedia Entry](../../encyclopedia/tra Learn more about claimable balances: [Claimable Balances Encyclopedia Entry](../../encyclopedia/transactions-specialized/claimable-balances.mdx) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ClawbackClaimableBalanceOperation.java) **Threshold**: Medium **Result**: `ClaimClaimableBalanceResult` **Parameters**: @@ -581,6 +586,7 @@ The Asset parameter is of the `TrustLineAsset` type. If you are modifying a trus Learn more about flags: [Flags Glossary Entry](../../glossary.mdx#flags) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/SetTrustlineFlagsOperation.java) **Threshold**: Low **Result**: `SetTrustLineFlagsResult` **Parameters**: @@ -612,6 +618,7 @@ If the pool is empty, then this operation deposits maxAmountA of A and maxAmount Learn more about liquidity pools: [Liquidity Pools Encyclopedia Entry](../../encyclopedia/sdex/liquidity-on-stellar-sdex-liquidity-pools.mdx) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/LiquidityPoolDepositOperation.java) **Threshold**: Medium **Result**: `LiquidityPoolDepositResult` **Parameters**: @@ -644,6 +651,7 @@ The minAmountA and minAmountB parameters can be used to control a percentage of Learn more about liquidity pools: [Liquidity Pools Encyclopedia Entry](../../encyclopedia/sdex/liquidity-on-stellar-sdex-liquidity-pools.mdx) +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/LiquidityPoolWithdrawOperation.java) **Threshold**: Medium **Result**: `LiquidityPoolWithdrawResult` **Parameters**: @@ -679,6 +687,7 @@ Note that Soroban transactions can only contain one operation per transaction. Learn more [here](../../encyclopedia/contract-development/contract-interactions/stellar-transaction.mdx#invokehostfunctionop). +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/InvokeHostFunctionOperation.java) **Threshold**: Medium **Result**: `InvokeHostFunctionResult` **Parameters**: @@ -706,6 +715,7 @@ Note that Soroban transactions can only contain one operation per transaction. Learn more in the [State Archival section](../../encyclopedia/storage/state-archival.mdx). +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/ExtendFootprintTTLOperation.java) **Threshold**: Medium **Result**: `ExtendFootprintTTLResult` **Parameters**: @@ -731,6 +741,7 @@ Note that Soroban transactions can only contain one operation per transaction. Learn more in the [State Archival section](../../encyclopedia/storage/state-archival.mdx). +**SDKs**: [Java](https://github.com/lightsail-network/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/operations/RestoreFootprintOperation.java) **Threshold**: Medium **Result**: `RestoreFootprintResult` **Parameters**: