diff --git a/.changeset/witty-bananas-tease.md b/.changeset/witty-bananas-tease.md new file mode 100644 index 0000000000..8b847fe267 --- /dev/null +++ b/.changeset/witty-bananas-tease.md @@ -0,0 +1,7 @@ +--- +'@chainlink/coinbase-prime-adapter': patch +'@chainlink/anchorage-adapter': patch +'@chainlink/bitgo-adapter': patch +--- + +Update default rate limit diff --git a/packages/sources/anchorage/src/index.ts b/packages/sources/anchorage/src/index.ts index d327a72ea3..5d10552180 100644 --- a/packages/sources/anchorage/src/index.ts +++ b/packages/sources/anchorage/src/index.ts @@ -8,6 +8,14 @@ export const adapter = new PoRAdapter({ name: 'ANCHORAGE', config, endpoints: [wallet], + rateLimiting: { + tiers: { + default: { + rateLimit1m: 30, + note: 'Docs: 10 requests per second per Organization, bursts of up to 100 requests per second', + }, + }, + }, }) export const server = (): Promise => expose(adapter) diff --git a/packages/sources/bitgo/src/index.ts b/packages/sources/bitgo/src/index.ts index 00fc384b7b..731b5c7d06 100644 --- a/packages/sources/bitgo/src/index.ts +++ b/packages/sources/bitgo/src/index.ts @@ -8,6 +8,14 @@ export const adapter = new PoRAdapter({ name: 'BITGO', config, endpoints: [wallet], + rateLimiting: { + tiers: { + default: { + rateLimit1m: 30, + note: 'Docs: 360 requests per minute per auth', + }, + }, + }, }) export const server = (): Promise => expose(adapter) diff --git a/packages/sources/coinbase-prime/src/index.ts b/packages/sources/coinbase-prime/src/index.ts index ca1d253617..79cadedf0c 100644 --- a/packages/sources/coinbase-prime/src/index.ts +++ b/packages/sources/coinbase-prime/src/index.ts @@ -11,7 +11,7 @@ export const adapter = new PoRAdapter({ rateLimiting: { tiers: { default: { - rateLimit1s: 25, + rateLimit1s: 5, note: 'Using the most restrictive rate limit. Docs: IP address at 100 requests per second (rps). Portfolio ID at 25 rps with a burst of 50 rps.', }, },