秋田预测市场 · Discord 审计

Relayer API 被封锁导致 gasless 下单功能失效

2026-06-18 · Polymarket · 8 条相关讨论

Dicer 2026-06-18 01:30:36

I am trying to use `py_builder_relayer_client` to have gasless order placement. However, after I enter my credentials correctly and run the following code , it returns me an error: `TypeError: RelayClient.__init__() got an unexpected keyword argument 'host'` import os from py_builder_relayer_client.client import RelayClient client = RelayClient( host="https://relayer-v2.polymarket.com", chain=137, signer=os.getenv("PRIVATE_KEY"), relayer_api_key=os.environ["RELAYER_API_KEY"], relayer_api_key_address=os.environ["RELAYER_API_KEY_ADDRESS"], )

I am trying to use `py_builder_relayer_client` to have gasless order placement. However, after I enter my credentials correctly and run the following code , it returns me an error: `TypeError: RelayClient.__init__() got an unexpected keyword argument 'host'` import os from py_builder_relayer_client.client import RelayClient client = RelayClient( host="https://relayer-v2.polymarket.com", chain=137, signer=os.getenv("PRIVATE_KEY"), relayer_api_key=os.environ["RELAYER_API_KEY"], relayer_api_key_address=os.environ["RELAYER_API_KEY_ADDRESS"], )

Dicer 2026-06-18 01:31:55

Is the host URL wrong?  host="https://relayer-v2.polymarket.com/",

Is the host URL wrong?  host="https://relayer-v2.polymarket.com/",

Dicer 2026-06-18 01:38:09

what do you do to solve the error?

what do you do to solve the error?

Sevan 2026-06-18 03:04:00

You cannot solve the error its currently being blocked by polymarket.

You cannot solve the error its currently being blocked by polymarket.

Dicer 2026-06-18 03:04:32

what do you mean "blocked" ?

what do you mean "blocked" ?

Sevan 2026-06-18 03:07:24

Polymarket is not allowing trading this way anymore, all builds have been broken until they decide to open up the API its that simple. You can spend a million tokens trying to crack this but this function is blocked from their side so you will not be able to sign the CLOB.

Polymarket is not allowing trading this way anymore, all builds have been broken until they decide to open up the API its that simple. You can spend a million tokens trying to crack this but this function is blocked from their side so you will not be able to sign the CLOB.

Dicer 2026-06-18 03:08:38

then how can I use `py-clob-client-v2` to have gasless order placement? Or it is gasless already?

then how can I use `py-clob-client-v2` to have gasless order placement? Or it is gasless already?