Payment issues. #7881
Unanswered
17621859515
asked this question in
Q&A
Payment issues.
#7881
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following code on the devnet network sends sui, and the error in the picture will be reported.
How should it be solved?
import { Ed25519Keypair, JsonRpcProvider, RawSigner } from '@mysten/sui.js'; // Generate a new Ed25519 Keypair const keypair = new Ed25519Keypair(); const provider = new JsonRpcProvider(); const signer = new RawSigner(keypair, provider); const transferTxn = await signer.transferObject({ objectId: '0x5015b016ab570df14c87649eda918e09e5cc61e0', gasBudget: 1000, recipient: '0xd84058cb73bdeabe123b56632713dcd65e1a6c92', }); console.log('transferTxn', transferTxn);
Beta Was this translation helpful? Give feedback.
All reactions