Skip to content

feat(rpc): filter unconfirmed txs by tx hash #963

Closed

Description

@lklimek

Expected Behavior

We want to check if one particular tx is still in a mempool

Current Behavior

We can only retrieve all txs in mempool (paginated)

Possible Solution

We can create new endpoint to fetch unconfirmed tx by hash.

Alternatives Considered

Add filtering to RequestUnconfirmedTxsby Tx hash:

type RequestUnconfirmedTxs struct {
	Page    *Int64          `json:"page"`
	PerPage *Int64          `json:"per_page"`
	TxHash    *bytes.HexBytes `json:"tx_hash"`
}

Additional Context

Required for dashpay/platform#2261

Activity

  1. added
    enhancement
    on Oct 22, 2024
  2. linked a pull request that will close this issuefeat(rpc): filter unconfirmed txs by tx hash #1053on Feb 13, 2025
  3. moved this from Todo to In Progress in Platform teamon Feb 13, 2025
  4. moved this from In Progress to Done in Platform teamon Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions