Skip to content
  • Tarik Gul's avatar
    feat: add query param `includeFee` to add a `tip`, `partialFee`, and... · 8241d340
    Tarik Gul authored
    feat: add query param `includeFee` to add a `tip`, `partialFee`, and `priority` field to each extrinsic for `/node/transaction-pool` (#931)
    
    * add test response
    
    * update controller to include tip query parameter
    
    * create tests that include tip query param
    
    * update the return type to include tip
    
    * update dervice logic to handle tip inclusion
    
    * update the docs
    
    * fix grumble
    
    * switch the naming in the controller from tip to fee
    
    * add partial fee functionality
    
    * handle priority correctly
    
    * fix some linting errors
    
    * update response type for partialfee
    
    * set query param as includeFee
    
    * update normal extrinsic response
    
    * add const values to defaultMockApi
    
    * add computation logic to calculate priority
    
    * update docs
    
    * add test suite for operational transactions
    
    * lint
    
    * remove commented import
    
    * rename maxBlock to maxBlockWeight
    
    * add end line
    
    * fix priority type decsription
    
    * cleanup small grumbles
    
    * fix comment
    
    * fix some comments
    8241d340