Skip to content

Error Placing BetOrder The program expected this account to be already initialized #11

Answered by druspencer
druspencer asked this question in Q&A
Discussion options

You must be logged in to vote

This error is raised when the wallet you are using to place the betOrder doesn't have a balance for the token the market uses. You should:

  • Confirm the mintAccount used on the market, this is returned in the marketAccount on methods such as getMarket and getMarketAccountsByStatus
  • Confirm whether the wallet you are using has that token
  • Send the wallet tokens as appropriate
{
  "success": true,
  "errors": [],
  "data": {
    "markets": [
      {
        "publicKey": "GRqgvcN2aW1FvAyDzaKyQqrzzVoD54nEAy7scPX1XZAY",
        "account": {
          "authority": "J2LqciLvyxVHMjMcda73459zWfFxw7rveDb5YAhSdGTe",
          "eventAccount": "GNMpVxkQz7ycDPirB7MKfKb2fLKW5Yzk6eRFxkCeSBSF",
          "m…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by druspencer
Comment options

You must be logged in to vote
2 replies
@druspencer
Comment options

druspencer Jan 9, 2025
Maintainer Author

@cryptofie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants