Hello! im heading with the issue with my different accounts, my issue is that when im trying to get api keys
by using a following method -
const signer = new Wallet(PRIVATE_KEY_FROM_WALLET) // imported from '@ethersproject/wallet';
const creds = await new ClobClient(
CLOB_HOST,
137,
signer
).createOrDeriveApiKey();
[CLOB Client] request error {"status":400,"statusText":"Bad Request","data":{"error":"Could not create api key"},"config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"*/*","Content-Type":"application/json","POLY_ADDRESS":"0x4F531514dC5ef078818861cEF5e15eCE6747944e","POLY_SIGNATURE":"0xb39b2a7cdb299740df70c7e9442993d216ee54ad404c0704912d8783b3c299d6250b2582bf23db2068e8ebd01c4a520b29ede5e18a004a78cfd3b9a1c80b92421b","POLY_TIMESTAMP":"1761984932","POLY_NONCE":"0","User-Agent":"@polymarket/clob-client","Connection":"keep-alive"},"method":"post","url":"https://clob.polymarket.com/auth/api-key","params":{}}}
And it happens with my different accounts, through Metamask Wallet or by using reveal.magic.link, the result is the same - i cant get generated api keys. What im doing wrong?
Hello! im heading with the issue with my different accounts, my issue is that when im trying to get api keys
by using a following method -
I'm getting a response -
And it happens with my different accounts, through Metamask Wallet or by using reveal.magic.link, the result is the same - i cant get generated api keys. What im doing wrong?