v6.0.5
Changelog:
- feat: added
skipUserAccountsRpcCalls
to skip checking account on/swap
, this assume the user have all the accounts needed for swap. - feat: added
snapshot_poll_interval_ms
to configure the polling rate of rpc to update states, default is200
ms for polling mode and30000
ms for yellowstone grpc mode - feat:
/swap
and/swap-instructions
returnprioritization_fee_lamports
to indicate the amount of fee that will be used, excluding base fee. - feat:
prioritization_fee_lamports
now accepts{ autoMultiplier: number }
this multiplies theauto
priority 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