# SDK

**URL:** https://forums.sui.io/c/sdk/15.md

[Latest](https://forums.sui.io/latest.md) · [Categories](https://forums.sui.io/categories.md) · [Tags](https://forums.sui.io/tags.md)

---

## [About the SDK category](https://forums.sui.io/t/about-the-sdk-category/27)

<div class="topic-metadata">

**Author:** [@AkashaCoin](https://forums.sui.io/u/AkashaCoin)\
**Replies:** 1\
**Last updated:** [January 3, 2023, 4:45am UTC](https://forums.sui.io/t/about-the-sdk-category/27 "2023-01-03T04:45:55Z")

</div>

Use this category for questions and discussions about the Sui Developer Kit. Discussions should center around topics such as: Getting started with the developer kit New versions and updates Tips and work-around…

---

## [An x402 client SDK + middleware for Sui (testnet, feedback wanted)](https://forums.sui.io/t/an-x402-client-sdk-middleware-for-sui-testnet-feedback-wanted/49421)

<div class="topic-metadata">

**Author:** [@yannickrocks](https://forums.sui.io/u/yannickrocks)\
**Replies:** 0\
**Last updated:** [August 24, 2026, 10:22am UTC](https://forums.sui.io/t/an-x402-client-sdk-middleware-for-sui-testnet-feedback-wanted/49421 "2026-08-24T10:22:21Z")

</div>

Stripe shipped Machine Payments in Feb 2026. AWS made CloudFront/WAF x402-aware in June. Both use the same open Linux Foundation spec, x402. Sui already has an exact scheme in that spec and one solid open-source facilita…

---

## [PTB, adminCap and object owners](https://forums.sui.io/t/ptb-admincap-and-object-owners/49058)

<div class="topic-metadata">

**Author:** [@Maars](https://forums.sui.io/u/Maars)\
**Replies:** 1\
**Last updated:** [June 27, 2026, 4:22pm UTC](https://forums.sui.io/t/ptb-admincap-and-object-owners/49058 "2026-06-27T16:22:41Z")

</div>

Hi there. I have been cracking my head over last few days to try and do few thing and I really can’t find my way out so I need to ask a few questions to make it maybe more clear for me if there are limitations that are …

---

## [SuiGrpcClient not finding newly created Module on Localnet](https://forums.sui.io/t/suigrpcclient-not-finding-newly-created-module-on-localnet/49243)

<div class="topic-metadata">

**Author:** [@ovdizzle](https://forums.sui.io/u/ovdizzle)\
**Replies:** 1\
**Last updated:** [March 24, 2026, 5:02pm UTC](https://forums.sui.io/t/suigrpcclient-not-finding-newly-created-module-on-localnet/49243 "2026-03-24T17:02:24Z")

</div>

The SuiGrpcClient is getting a Not Found error when checking for objects / modules created on the blockchain for localnet. suiJsonRpcCLient and core api works. and i can also see the object created on localnet configu…

---

## [Ts-sdk: How to public share object](https://forums.sui.io/t/ts-sdk-how-to-public-share-object/49149)

<div class="topic-metadata">

**Author:** [@plyoteo](https://forums.sui.io/u/plyoteo)\
**Replies:** 1\
**Last updated:** [December 3, 2025, 3:16pm UTC](https://forums.sui.io/t/ts-sdk-how-to-public-share-object/49149 "2025-12-03T15:16:02Z")

</div>

In the SUI Move ts-sdk we have the command tx.transferObjects(\[obj\], address) for public\_transfer. Is there a command for public\_share\_object?

---

## [How to pass an enum in moveCall in TypeScript SDK](https://forums.sui.io/t/how-to-pass-an-enum-in-movecall-in-typescript-sdk/46702)

<div class="topic-metadata">

**Author:** [@sutsevni](https://forums.sui.io/u/sutsevni)\
**Replies:** 1\
**Last updated:** [September 17, 2025, 7:10pm UTC](https://forums.sui.io/t/how-to-pass-an-enum-in-movecall-in-typescript-sdk/46702 "2025-09-17T19:10:15Z")

</div>

In contract, I have enum MyEnum { Foo, Bar } and I want receive an instance of this in a public function (I have no idea which is the correct method signature) public fun my\_fun(e: MyEnum) { ... } or public fun my\_f…

---

## [How to call move function with option argument in typescript sdk](https://forums.sui.io/t/how-to-call-move-function-with-option-argument-in-typescript-sdk/49038)

<div class="topic-metadata">

**Author:** [@jackjiang](https://forums.sui.io/u/jackjiang)\
**Replies:** 2\
**Last updated:** [August 20, 2025, 3:33am UTC](https://forums.sui.io/t/how-to-call-move-function-with-option-argument-in-typescript-sdk/49038 "2025-08-20T03:33:51Z")

</div>

This is the move function: public fun self\_remove\_locker( locker\_cap: &mut LockerCap, telebtc\_cap: &mut TeleBTCCap, treasury\_cap: &mut TreasuryCap\<TELEBTC\>, telebtc\_coins: &mut Option\<…

---

## [Phantom wallet SDK connection](https://forums.sui.io/t/phantom-wallet-sdk-connection/48983)

<div class="topic-metadata">

**Author:** [@DoubleJabber](https://forums.sui.io/u/DoubleJabber)\
**Replies:** 1\
**Last updated:** [August 12, 2025, 2:27am UTC](https://forums.sui.io/t/phantom-wallet-sdk-connection/48983 "2025-08-12T02:27:12Z")

</div>

Using the typescript sdk to connect to wallets, and trying to retrieve the public key of the wallet. The slush wallet works fine and returns the expected 33 byte array using the .toRawBytes() method over the Ed25519Publi…

---

## [Can't Access Field in SuiParsedData](https://forums.sui.io/t/cant-access-field-in-suiparseddata/48976)

<div class="topic-metadata">

**Author:** [@WZ\_Tan](https://forums.sui.io/u/WZ_Tan)\
**Replies:** 1\
**Last updated:** [August 3, 2025, 3:17pm UTC](https://forums.sui.io/t/cant-access-field-in-suiparseddata/48976 "2025-08-03T15:17:34Z")

</div>

Hello. The Typescript SDK keeps throwing errors telling me that it cannot access the field property, albeit it exists when logged. useEffect(() =\> { const fetchMarketplace= async()=\>{ console.log(“Fetching Marketpla…

---

## [Is there any limit on transfering SUI to number of addresses? Using signAndExecuteTransaction](https://forums.sui.io/t/is-there-any-limit-on-transfering-sui-to-number-of-addresses-using-signandexecutetransaction/48737)

<div class="topic-metadata">

**Author:** [@teenageprogrammer](https://forums.sui.io/u/teenageprogrammer)\
**Replies:** 1\
**Last updated:** [June 24, 2025, 8:07am UTC](https://forums.sui.io/t/is-there-any-limit-on-transfering-sui-to-number-of-addresses-using-signandexecutetransaction/48737 "2025-06-24T08:07:18Z")

</div>

I want to send SUI coins from a wallet to huge number of addresses in one function call. I have an array of length \> 1,000 : const transfers = \[ { to: '0xRecipientAddress1', amount: 1000000 }, { to: '0xRecipientAdd…

---

## [Sui PHP SDK first pilot version is ready](https://forums.sui.io/t/sui-php-sdk-first-pilot-version-is-ready/48670)

<div class="topic-metadata">

**Author:** [@0xBeycan](https://forums.sui.io/u/0xBeycan)\
**Replies:** 0\
**Last updated:** [June 16, 2025, 11:12am UTC](https://forums.sui.io/t/sui-php-sdk-first-pilot-version-is-ready/48670 "2025-06-16T11:12:44Z")

</div>

Hi, there was no PHP SDK for Sui and since I work with PHP a lot, I implemented the TypeScript library in PHP. I tried to build exactly the same structure. Maybe the people in charge will add this community library to th…

---

## [Stuck on waitting for success in a transaction block](https://forums.sui.io/t/stuck-on-waitting-for-success-in-a-transaction-block/47852)

<div class="topic-metadata">

**Author:** [@PhigrosX](https://forums.sui.io/u/PhigrosX)\
**Replies:** 0\
**Last updated:** [March 30, 2025, 2:42pm UTC](https://forums.sui.io/t/stuck-on-waitting-for-success-in-a-transaction-block/47852 "2025-03-30T14:42:48Z")

</div>

Can anyone help me with this problem please, I tried to put the Sui coin as a parameter in the function, sometimes I can get “console.log(“deal success”);”, but sometimes it doesn’t work at all(most of the time). Howeve…

---

## [React Wallet SDK](https://forums.sui.io/t/react-wallet-sdk/24986)

<div class="topic-metadata">

**Author:** [@ndl](https://forums.sui.io/u/ndl)\
**Replies:** 8\
**Last updated:** [June 7, 2025, 7:57pm UTC](https://forums.sui.io/t/react-wallet-sdk/24986 "2025-06-07T19:57:41Z")

</div>

What are people using as far as wallets for their react code? Mysten lab’s SDK, Ethos, Suiet? I’m testing Suiet right now since the Mysten SDK doesn’t work for me. Has anyone tried Ethos? What did you like? What did you …

---

## [MVR SDK Error : Invalid Input](https://forums.sui.io/t/mvr-sdk-error-invalid-input/48037)

<div class="topic-metadata">

**Author:** [@casehun\_07784](https://forums.sui.io/u/casehun_07784)\
**Replies:** 0\
**Last updated:** [April 24, 2025, 2:02am UTC](https://forums.sui.io/t/mvr-sdk-error-invalid-input/48037 "2025-04-24T02:02:46Z")

</div>

Hello, I’m currently trying to implement a movecall using mvr. The code was implemented as follows, but the following error actually occurs. I think the plugin is not entered properly or it’s a problem of sdk itself, so…

---

## [InsufficientCoinBalance in command 1](https://forums.sui.io/t/insufficientcoinbalance-in-command-1/47500)

<div class="topic-metadata">

**Author:** [@jarvinsy](https://forums.sui.io/u/jarvinsy)\
**Replies:** 0\
**Last updated:** [February 26, 2025, 6:29pm UTC](https://forums.sui.io/t/insufficientcoinbalance-in-command-1/47500 "2025-02-26T18:29:44Z")

</div>

sometimes i will get this error(here is a digest: DTGLuzwZJnUhVjfUVzX2dybeBmieK9hFgP9YRU7M3PBp) why this error occur? my wallet has enough coins. This puzzled me. I tried to increase the budget to 0.075 SUI, but it did…

---

## [Error checking transaction input objects: DependentPackageNotFound on tutorial e2e counter exercice](https://forums.sui.io/t/error-checking-transaction-input-objects-dependentpackagenotfound-on-tutorial-e2e-counter-exercice/47417)

<div class="topic-metadata">

**Author:** [@Monkey\_D\_L](https://forums.sui.io/u/Monkey_D_L)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 11:59am UTC](https://forums.sui.io/t/error-checking-transaction-input-objects-dependentpackagenotfound-on-tutorial-e2e-counter-exercice/47417 "2025-02-14T11:59:48Z")

</div>

Hello I am quite new to this. I have implemented the turorial counter to test it. but when I created a counter, my sui wallet displays this error : \`\`\` Unable to process transaction Error checking transaction input o…

---

## [Issue with getTotalSupply on SUI for some tokens](https://forums.sui.io/t/issue-with-gettotalsupply-on-sui-for-some-tokens/47326)

<div class="topic-metadata">

**Author:** [@truongezgg](https://forums.sui.io/u/truongezgg)\
**Replies:** 0\
**Last updated:** [February 5, 2025, 4:29am UTC](https://forums.sui.io/t/issue-with-gettotalsupply-on-sui-for-some-tokens/47326 "2025-02-05T04:29:55Z")

</div>

Issue with getTotalSupply on SUI for some tokens Hi everyone, I’m trying to get the total supply of a token on the SUI blockchain using: client.getTotalSupply({ coinType }) For most tokens, it works fine, but for som…

---

## [Accessing Move function return values through an SDK](https://forums.sui.io/t/accessing-move-function-return-values-through-an-sdk/46481)

<div class="topic-metadata">

**Author:** [@ajmarcus](https://forums.sui.io/u/ajmarcus)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 9:39pm UTC](https://forums.sui.io/t/accessing-move-function-return-values-through-an-sdk/46481 "2025-01-09T21:39:19Z")

</div>

I have a Move function that returns the ID of a shared object the user will need to query for. However, tx.moveCall is not correctly returning this ID that I am expecting. From the examples online, I know that you can tr…

---

## [Step to transfer 1 SUI from a wallet address to another address by pysui](https://forums.sui.io/t/step-to-transfer-1-sui-from-a-wallet-address-to-another-address-by-pysui/46926)

<div class="topic-metadata">

**Author:** [@trungsss](https://forums.sui.io/u/trungsss)\
**Replies:** 1\
**Last updated:** [December 31, 2024, 9:07pm UTC](https://forums.sui.io/t/step-to-transfer-1-sui-from-a-wallet-address-to-another-address-by-pysui/46926 "2024-12-31T21:07:08Z")

</div>

I am not sure how to write a transfer sui from a wallet address to another feature using python, I have installed and tried pysui but it seems I am not doing the steps correctly, can you guys show me the steps I need to …

---

## [Connecting a SUI wallet to a telegram mini app](https://forums.sui.io/t/connecting-a-sui-wallet-to-a-telegram-mini-app/46884)

<div class="topic-metadata">

**Author:** [@kitkat](https://forums.sui.io/u/kitkat)\
**Replies:** 0\
**Last updated:** [December 23, 2024, 10:31pm UTC](https://forums.sui.io/t/connecting-a-sui-wallet-to-a-telegram-mini-app/46884 "2024-12-23T22:31:20Z")

</div>

Hello! I am currently working on a test tele gram mini app. I want to be able to connect a SUI wallet to my app. I’m currently trying to use the SDK, but because it’s in the tele gram mini app window, and not a browser, …

---

## [Issue with sponsored transactions](https://forums.sui.io/t/issue-with-sponsored-transactions/46677)

<div class="topic-metadata">

**Author:** [@chiefkeef88](https://forums.sui.io/u/chiefkeef88)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 5:23pm UTC](https://forums.sui.io/t/issue-with-sponsored-transactions/46677 "2024-12-06T17:23:21Z")

</div>

Hello. I am trying to create a sponsored transaction. First, I create the transaction itself, then I sign it with the gas sponsor and afterward with the sender. Next, I attempt to send the transaction to the blockchain, …

---

## [How do we monitor for newly created liquidity pools?](https://forums.sui.io/t/how-do-we-monitor-for-newly-created-liquidity-pools/46531)

<div class="topic-metadata">

**Author:** [@sushichef](https://forums.sui.io/u/sushichef)\
**Replies:** 0\
**Last updated:** [November 24, 2024, 9:33am UTC](https://forums.sui.io/t/how-do-we-monitor-for-newly-created-liquidity-pools/46531 "2024-11-24T09:33:00Z")

</div>

Is there any way for us to monitor newly created liquidity pools?

---

## [deepbook SDK problem](https://forums.sui.io/t/deepbook-sdk-problem/46290)

<div class="topic-metadata">

**Author:** [@nbhdboy](https://forums.sui.io/u/nbhdboy)\
**Replies:** 0\
**Last updated:** [October 25, 2024, 5:40pm UTC](https://forums.sui.io/t/deepbook-sdk-problem/46290 "2024-10-25T17:40:43Z")

</div>

Hi everyone, I have a problem, I initialized deepbook SDK with javascript and I want to call the function getAccountInfo, then I queried the poolkey (mainnet) in Suiscan, but it keeps coming up: Pool not found for key, …

---

## [Transfer token by moveCall](https://forums.sui.io/t/transfer-token-by-movecall/46232)

<div class="topic-metadata">

**Author:** [@chiefkeef88](https://forums.sui.io/u/chiefkeef88)\
**Replies:** 1\
**Last updated:** [October 18, 2024, 8:14am UTC](https://forums.sui.io/t/transfer-token-by-movecall/46232 "2024-10-18T08:14:23Z")

</div>

Hello everyone, I’m just starting to learn Sui Network. There are a few things I don’t quite understand. I want to create a transaction to send USDC to another wallet using moveCall. In the documentation, there is an exa…

---

## [Is There Any Way to Merge Two PTBs?](https://forums.sui.io/t/is-there-any-way-to-merge-two-ptbs/46211)

<div class="topic-metadata">

**Author:** [@Klinola](https://forums.sui.io/u/Klinola)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 7:58am UTC](https://forums.sui.io/t/is-there-any-way-to-merge-two-ptbs/46211 "2024-10-17T07:58:28Z")

</div>

Hi Sui community, Out of some necessity, I need to merge two separate transactions into one. But I’ve looked through a lot of documentation and haven’t found an official solution to merge the PTBs. So I tried to use th…

---

## [Dry run failed: could not automatically determine a budget](https://forums.sui.io/t/dry-run-failed-could-not-automatically-determine-a-budget/46161)

<div class="topic-metadata">

**Author:** [@deanuko](https://forums.sui.io/u/deanuko)\
**Replies:** 1\
**Last updated:** [October 15, 2024, 12:14pm UTC](https://forums.sui.io/t/dry-run-failed-could-not-automatically-determine-a-budget/46161 "2024-10-15T12:14:19Z")

</div>

When I try to run a smart contract function I get the error: Error: Dry run failed, could not automatically determine a budget: VMVerificationOrDeserializationError in command 0 This is my code: async sendMail(sen…

---

## [Trouble Building a Transaction (PTB)](https://forums.sui.io/t/trouble-building-a-transaction-ptb/46106)

<div class="topic-metadata">

**Author:** [@ShooterMcGavin](https://forums.sui.io/u/ShooterMcGavin)\
**Replies:** 0\
**Last updated:** [September 30, 2024, 2:19am UTC](https://forums.sui.io/t/trouble-building-a-transaction-ptb/46106 "2024-09-30T02:19:11Z")

</div>

I am working on a JavaScript project and I’m trying to build a PTB. After reading the sdk docs and multiple attempts at different build strategies, I keep running into the same error: Transaction failed: Error: No provi…

---

## [Failed to subscribe to events using rpc: suix\_subscribeEvent](https://forums.sui.io/t/failed-to-subscribe-to-events-using-rpc-suix-subscribeevent/45428)

<div class="topic-metadata">

**Author:** [@sherpalden](https://forums.sui.io/u/sherpalden)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 3:07am UTC](https://forums.sui.io/t/failed-to-subscribe-to-events-using-rpc-suix-subscribeevent/45428 "2024-09-25T03:07:42Z")

</div>

I am getting this error: "error": "{\\"code\\":-32602,\\"message\\":\\"Invalid params\\"}" when I subscribe to the events from websocket connection. The json encoded message sent on websocket connection is: {"jsonrpc":"2.0","i…

---

## [Read state from chain](https://forums.sui.io/t/read-state-from-chain/45976)

<div class="topic-metadata">

**Author:** [@Nikos-T](https://forums.sui.io/u/Nikos-T)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 11:04am UTC](https://forums.sui.io/t/read-state-from-chain/45976 "2024-08-12T11:04:00Z")

</div>

Hi new to Sui can anyone please help me with a golang doubt. I want to do a read call on my deployed contract to get response. I tried using SuiCall but shows method not found

---

## [How to create a custom Sui dApp Kit theme](https://forums.sui.io/t/how-to-create-a-custom-sui-dapp-kit-theme/45913)

<div class="topic-metadata">

**Author:** [@kkomelin](https://forums.sui.io/u/kkomelin)\
**Replies:** 0\
**Last updated:** [July 30, 2024, 5:42pm UTC](https://forums.sui.io/t/how-to-create-a-custom-sui-dapp-kit-theme/45913 "2024-07-30T17:42:53Z")

</div>

Hello frens, If you ever need to create a custom Sui dApp Kit theme, my theme creator app is here for you https://sui-dapp-kit-theme-creator.app It’s super-easy to use… You just choose two primary colors (one for the l…

[Next page](https://forums.sui.io/c/sdk/15.md?page=1)
