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
throw new Error('Address not owned by program: ' + owner.toBase58());
Error: Address not owned by program: 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin
I created an instance of Swap
let client = new Swap(provider, tokenList)
When i call estimate im getting the error.
const estimatedBtc = await client.estimate({
fromMint: new PublicKey('SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt'), //src
toMint: new PublicKey('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'), //usdc
amount: toNative(1),
});
Report from Discord:
"Used the sample from https://github.com/openbook-dex/openbook-ts/blob/master/packages/swap/examples/swap.js"
The text was updated successfully, but these errors were encountered: