Extracts the bid paid from a SubmitBid instruction
Performs instruction introspection to retrieve a vector of SubmitBid instructions in the current transaction
If permission_info is specified, only instructions with matching permission and router accounts are returned
Performs instruction introspection on the current transaction to query SubmitBid instructions that match the specified permission and router
Returns the number of matching instructions and the total fees paid to the router
Performs fee splits on a bid amount
Returns amount to pay to router and amount to pay to relayer