---
# System prepended metadata

title: Follow my funds

---




# Follow my funds

## Needs to change
- change response for `/api/{keyspace}/addresses/ed25519/{addr}/outputs` API to optionally include inputs (message_ids of spending txns)
- change response for `/api/{keyspace}/addresses/ed25519/{addr}/outputs` API to optionally include message IDs
- change query to return all variants from transactions table

## Backward tracing

### Starting with Address
1. Get all output message ids by calling `/api/{keyspace}/addresses/ed25519/{addr}/outputs?include-spent=true`
2. Get Message containing sender address by calling `/api/{keyspace}/messages/{message_id}`
3. Get information from message payload to display

### Starting with message id
1. Get address by calling `/api/{keyspace}/messages/{message_id}`
2. Follow above steps

## Forward tracing

### Starting with Address
1. Get spent outputs and unlock variants by calling `/api/{keyspace}/addresses/ed25519/{addr}/outputs?include-spent=true`
2. Get Message containing sender address by calling `/api/{keyspace}/messages/{message_id}`
3. Get information from message payload to display

### Starting with message id
1. Get address by calling `/api/{keyspace}/messages/{message_id}`
2. Follow above steps