Method Map
In SDK
1.5.8+, claimPartnerTradingFee2 and claimCreatorTradingFee2 are transfer-hook fee claim builders. For standard pools with explicit receivers, use claimPartnerTradingFeeToReceiver and claimCreatorTradingFeeToReceiver.State Reads
SDK1.5.9 fetches both standard and transfer-hook account variants through the same state methods.
poolConfig versus configWithTransferHook, and virtualPool versus transferHookPool.
Create A Transfer-Hook Config
Transfer-hook configs requireTokenType.Token2022 and a valid executable transfer-hook program.
CreatorUpdateAndMintAuthority and PartnerUpdateAndMintAuthority are only valid for transfer-hook configs. Standard configs reject mint-authority options.
Create A Transfer-Hook Pool
deriveDbcPoolAddress(quoteMint, baseMint, config).
Transfer-hook first-buy builders also use the transfer-hook swap path. They attempt to resolve the base mint’s hook remaining accounts automatically. If the hook cannot be resolved while bundling pool initialization with the first buy, pass transferHookAccountsInfo and transferHookAccounts on the first-buy params.
Swap A Transfer-Hook Pool
swap2WithTransferHook uses the same SwapMode variants as swap2. The SDK resolves transfer-hook extra accounts from the base mint and passes TransferHookAccountsInfo for you.
AccountsType.TransferHookBase and AccountsType.TransferHookBaseReferral slices.

