Skip to content

[Task] Implement transaction status fetchingΒ #125

@peer2f00l

Description

@peer2f00l

Background

Currently, the library does not support the ability to fetch a transaction status given a transaction hash.

User Story

My company has been maintaining a transaction relayer built primarily on near-jsonrpc-client. We would like to refactor the codebase to use near-api-rs instead, but the library lacks the functionality to fetch transaction statuses. This blocks us from cleanly refactoring the codebase.

Acceptance Criteria

Given a transaction hash, or a transaction hash and sender ID, retrieve the status of the transaction from the RPC node.

Resources & Additional Notes

Noted as an inline TODO comment:

// TODO: fetch transaction status
// TODO: fetch transaction receipt
// TODO: fetch transaction proof

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Shipped πŸš€

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions