You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey guys, i want to use this script to withdraw ustc from aust, using flowing script:,but it throw error message: "failed to execute message; message index: 0: dispatch: submessages: Generic error: Querier system error: Unsupported query type: unknown terra query variant: execute wasm contract failed [CosmWasm/[email protected]/x/wasm/keeper/keeper.go:429] With gas wanted: '1000000000' and gas used: '514492' "
could you help me to see how to solve this?
hey guys, i want to use this script to withdraw ustc from aust, using flowing script:,but it throw error message: "failed to execute message; message index: 0: dispatch: submessages: Generic error: Querier system error: Unsupported query type: unknown terra query variant: execute wasm contract failed [CosmWasm/[email protected]/x/wasm/keeper/keeper.go:429] With gas wanted: '1000000000' and gas used: '514492' "
could you help me to see how to solve this?
import { LCDClient, MnemonicKey, RawKey, MsgExecuteContract, Wallet } from '@terra-money/terra.js';
async function withDraw(wallet: Wallet) {
const execute = new MsgExecuteContract(
wallet.key.accAddress, // sender
"terra1hzh9vpxhsk8253se0vv5jj6etdvxu3nv8z07zu", // aUst contract
{
"send": {
"msg": "eyJyZWRlZW1fc3RhYmxlIjp7fX0=",
"amount": "1000000000",
"contract": "terra1sepfj7s0aeg5967uxnfk4thzlerrsktkpelm5s"
}
},
{ uluna: 1000000 } // coins
);
}
The text was updated successfully, but these errors were encountered: