Skip to content

Allow to obtain the current tx #1431

@shargon

Description

@shargon

Summary or problem description

Currently is not possible for the smart contract to know which TX is the invoker, in order to know (for example) the sender in Mint function.

Do you have any solution you want to propose?

GetTransaction(null) should return the current tx.

Neo Version

  • Neo 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionInitial issue state - proposed but not yet accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions