p2p-org / solana-swift

MIT License
96 stars 57 forks source link

Add searchTransactionHistory parameter #76

Closed alexmanzer closed 1 year ago

alexmanzer commented 1 year ago

This parameter is needed to get the status of any "older" signatures not found in the recent status cache.

See Solana Documentation searchTransactionHistory for more details: https://docs.solana.com/de/api/http#getsignaturestatuses

This PR will also correct the changes from the last commit "feat: preflightCommitment" (5a0feeb88f5607a936ba15a574ac6d911e377456): The parameter preflightCommitment was added to RequestConfiguration, but the check, if all parameters are nil were not updated for this new parameter.