Changelog:
- feat: added
skipUserAccountsRpcCallsto skip checking account on/swap, this assume the user have all the accounts needed for swap. - feat: added
snapshot_poll_interval_msto configure the polling rate of rpc to update states, default is200ms for polling mode and30000ms for yellowstone grpc mode - feat:
/swapand/swap-instructionsreturnprioritization_fee_lamportsto indicate the amount of fee that will be used, excluding base fee. - feat:
prioritization_fee_lamportsnow accepts{ autoMultiplier: number }this multiplies theautopriority fee which is 2x 75th percentile of the recent fee used. - feat: use different runtime for fetching and serving api.
- fix: reduce max accounts for legacy to prevent transaction too large
For documentation on the new parameters go to https://station.jup.ag/api-v6/post-swap
Commit e3f07315756e21e17bacd8171bdb9a173d72c543