Skip to content

[Bug]: Account Token/Collection Role display issue #1113

Description

@axenteoctavian

Contact Details

Telegram/Discord

Description

Account Token Role is not displayed correctly

Steps to reproduce

  1. https://devnet-api.multiversx.com/accounts/erd1danful4hs29deq6qt49k9yvtr80fqsd0mcewhm7hmq5pmapendxstg9xl2/roles/tokens/MTSDT-6f4219
  • The roles are displayed 2 times
  • canTransfer is missing
    image
  1. https://devnet-api.multiversx.com/accounts/erd1ysrfrcysz54460rhmvqm43rn7jmugkh2zl5eahmywn9yap55hfkq0sjqzy/roles/tokens/TTRS-75a449

After setting the ESDTTransferRole for an account I get this:
image

  • Now I get all 3 roles duplicate (in the first example I got 2 roles)
  • canTransfer is true and also false?
  1. https://devnet-api.multiversx.com/tokens/TTRS-75a449
  • The canTransfer is missing here
    image

My points:

  1. Why roles are displayed 2 times in the /accounts/{address}/roles/tokens?
  2. If we have the roles displayed 2 times, can we have all 3 always and with correct value?
  3. canTransfer is missing in /tokens/{identifier}
  4. All the point above have the same behavior for collections

On which network is the bug manifesting itself?

Devnet

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions