i test this code but code return this error :
Received error: {"ok":false,"error":"LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\nCannot run message on account: inbound external message rejected by transaction 567F1D4BCB17CE7440806854F3DB31A986229B46C73EFE0835F80B9E4CAC5258:\nexitcode=9, steps=8, gas_used=0\nVM Log (truncated):\n...execute SETCP 0\nexecute DICTPUSHCONST 19 (xC_,1)\nexecute DICTIGETJMPZ\nexecute PUSHPOW2 9\nexecute LDSLICEX\nexecute DUP\nexecute LDU 32\nhandling exception code 9: cell underflow\ndefault exception handler, terminating vm with exit code 9\n","code":500}
i dont know what happend.
this my code
try
{
TonClient tonclient = new(new TonClientParameters
{
Endpoint = "https://toncenter.com/api/v2/jsonRPC",
ApiKey = "...",
});
var destination = new Address("UQBWfx1LyxfOdECAaFTz2zGphiKbRsc-_gg1-AueTKxSWPZ9");
var mnemonic = new Mnemonic();
WalletV4 walletV4 = new WalletV4(new WalletV4Options() { PublicKey = mnemonic.Keys.PublicKey! });
// Create a transfer message for the wallet
ExternalInMessage message = walletV4.CreateTransferMessage(new[]
{
new WalletTransfer
{
Message = new ExternalInMessage(new()
{
Info = new ExtInMsgInfo(new()
{
Dest = destination,
ImportFee = new Coins("0.013"),
Src = walletV4.Address
}),
Body = new Message(destination, new Coins("0.5")).Payload,
StateInit = new StateInit(new StateInitOptions()),
}),
Mode = 1
}
}, 0).Sign(mnemonic.Keys.PrivateKey, true);
await tonclient.SendBoc(message.Cell!);
}
catch (Exception e)
{
Console.WriteLine(e);
throw;
}
There is C# SDK for ton: https://github.com/continuation-team/TonSdk.NET
WhatsApp +33753248207 Buy weed in Paris France, Buy weed in Paris, Buy weed in Lyon, Buy weed in Toulouse, Buy weed in Rouen,Telegram:::::https://t.me/Paris420connectt
WhatsApp +33753248207 Buy Coke,Cocaine,Weed,LSD,Cbd oil ,Molly Pills In Paris France Telegram:::::https://t.me/Paris420connectt
WhatsApp +33753248207 How can tourist get Coke,cocaine,crystal meth,molly in Paris FranceTelegram:::::https://t.me/Paris420connectt
WhatsApp +33753248207 Buy Coke/Cocaine online in Paris Telegram:::::https://t.me/Paris420connectt
Buy cocaine in paris,Where can I buy weed in France?
Buy C...
WhatsApp +447438944586 Buy weed in United Kingdom, Buy weed in UK, Buy weed in London
Buy Cannabis Online | Weed Shop in UK HighTHC
Buy Weed Online in UK | Cannabis & Marijuana for Sale .
WhatsApp +447438944586 Buy Weed, Cocaine, Heroin and Shrooms in UK,England, Scotland,Northern Ireland.
WhatsApp +447438944586 Buy coke/Cocaine in UK, Buy Coke in London, Buy weed in UK, Buy weed in Scotland
Buy Cannabis in UK
WhatsApp +447438944586 Buy weed Online in UK- Order Real Marijuana Online in UK with Worldwide Delivery. Firstly, to buy online from us , you don't need a medical marij...
Am here to testify how my relationship was restored back by the great power's of Dr Adoda after three months of loneliness, my ex-lover called me after my contact with Dr Adoda on ( http://dradodalovetemple.com) That he want us to come back and start a good home, happy to write on this website that my ex boyfriend is back with me and i am very happy sharing the testimony with everyone so that they too can meet this great Dr Adoda and solve their problems. I highly recommend, take a chance.. if your not a believer, he will make you one.