-
starracerhello
-
m-relay<fineopal:nope.chat> Is there a way to get_transfer of an address based on label?
-
m-relay<fineopal:nope.chat> Or what's the idiomatic way of detecting payment of an account's sub address?
-
m-relay<ofrnxmr:xmr.mx> docs.getmonero.org/rpc-library/wallet-rpc/#incoming_transfers ?
-
m-relay<ofrnxmr:xmr.mx> docs.getmonero.org/rpc-library/wallet-rpc/#get_balance ?
-
m-relay<fineopal:nope.chat> I don't see a label input in both of these methods.
-
m-relay<ofrnxmr:xmr.mx> Use the subaddress index
-
m-relay<fineopal:nope.chat> Currently, I am following this flow: create_address (with label) -> query with get_address (get subaddress index from label) -> do periodic get_transfers from the index.
-
m-relay<fineopal:nope.chat> Yeah.
-
m-relay<fineopal:nope.chat> Just wondering if this is a reasonable way.
-
m-relay<fineopal:nope.chat> Currently, I am following this flow: create\_address a subaddress (with label) -> query with get\_address (get subaddress index from label) -> do periodic get\_transfers from the index.
-
m-relay<ofrnxmr:xmr.mx> You can use also use tx-notify
-
ruidxfineopal: you can track payments with payment_id, it's basically what you are looking for in terms of "get transfer by label" but it creates `integrated address` and it's an old way to receive payments, more modern approach is to use subaddresses and track them by major and minor indices (account_index and subaddress_index)
-
m-relay<fineopal:nope.chat> Yeah, I settled on using subaddress indices. Thanks.