reduce getAccountInfo calls by using api for group metadata

This commit is contained in:
Lou-Kamades 2024-01-17 23:09:13 -06:00
parent 23bfea953f
commit 93100522db
No known key found for this signature in database
GPG Key ID: 87A166E4D7C01F30
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ const initMangoClient = (
return MangoClient.connect(provider, CLUSTER, MANGO_V4_ID[CLUSTER], {
prioritizationFee: opts.prioritizationFee,
multipleConnections: opts.multipleConnections,
idsSource: 'api',
prependedGlobalAdditionalInstructions:
opts.prependedGlobalAdditionalInstructions,
postSendTxCallback: (txCallbackOptions: TxCallbackOptions) => {