Take a look in the examples subfolder for various subxt usage examples.
subxt
All examples form part of the subxt documentation; there should be no examples without corresponding links from the docs.