What should we pass as the database db in get_transaction(txid, db)? Is there any sample code that showcases the use of this function? Thanks!