logging amount on callback before querying db for addresses