docs: sync Polymarket docs - 2026-04-23

- v2-migration.md: add builder API key clarification note
- relayer/submit-a-transaction.md: document POST /submit now returns immediately without transactionHash
- relayer/get-a-transaction-by-id.md: add note to poll for onchain transactionHash after submission
This commit is contained in:
Etherdrake
2026-04-23 20:07:00 +02:00
parent 920fcbd1c4
commit 454358fdc1
3 changed files with 19 additions and 5 deletions
+4
View File
@@ -387,6 +387,10 @@ V2 replaces the old builder authentication flow (HMAC headers + separate signing
`BuilderConfig` still exists, but its shape changed. In V1 it wrapped HMAC credentials from `@polymarket/builder-signing-sdk`. In V2 it's just `{ builderCode: string }`.
</Note>
<Note>
**Your builder API key isn't retired.** The HMAC-based builder API key is still used to authenticate with the [Relayer](/trading/gasless) for gasless transactions. Only the order-signing flow moves to the `builderCode` field — your relayer integration keeps the same credentials.
</Note>
<CodeGroup>
```typescript Before (V1) theme={null}
import { BuilderConfig, BuilderApiKeyCreds } from "@polymarket/builder-signing-sdk";