Skip to content

v6.0.5

Compare
Choose a tag to compare
@ZhengYuTay ZhengYuTay released this 21 Dec 10:20
· 2 commits to main since this release
0acf2c8

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 is 200ms for polling mode and 30000ms for yellowstone grpc mode
  • feat: /swap and /swap-instructions return prioritization_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 the auto 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