'How can i see which address Approved a WBNB spend for my address?

I have been looking for a few hours in vain.

Let's say that a wallet wants to authorize the WBNB expense by approving on the WBNB contract the address of my wallet (approve function).

How can I know what is the exact address of this wallet that has approved? I am trying to identify the exact address via a TX.

Because in the transactions I don't see anything at all even if I try to filter.

Thanks a lot.



Solution 1:[1]

You can search Approval events by an address using node JSON-RPC API:


    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

More in IERC20.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mikko Ohtamaa