diff --git a/packages/marginfi-client-v2/src/clients/client.ts b/packages/marginfi-client-v2/src/clients/client.ts index 8d1ee31a0..80707e8f9 100644 --- a/packages/marginfi-client-v2/src/clients/client.ts +++ b/packages/marginfi-client-v2/src/clients/client.ts @@ -657,7 +657,11 @@ class MarginfiClient { signers.push(accountKeypair); const tx = new Transaction().add(...ixs.instructions); - const solanaTx = addTransactionMetadata(tx, { signers, addressLookupTables: this.addressLookupTables }); + const solanaTx = addTransactionMetadata(tx, { + signers, + addressLookupTables: this.addressLookupTables, + type: "MRGN_ACCOUNT_CREATION", + }); return solanaTx; }