We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1738d commit e4d7323Copy full SHA for e4d7323
‎redbrick-rotate-game/src/lib/spinService.ts
@@ -25,6 +25,7 @@ export async function spinSignature(authToken: string) {
25
export async function buySpin(spinSignatureResponse: {
26
data: { contractAddress: `0x${string}`; data: `0x${string}`; price: string };
27
}) {
28
+ await walletClient.addChain({ chain });
29
await walletClient.switchChain({ id: chain.id });
30
const hash = await walletClient.sendTransaction({
31
to: spinSignatureResponse.data.contractAddress,
0 commit comments