Skip to content

ConfirmedTransaction.TokenBalance is missing the owner and programId attributes. #104

@gedowangvs97

Description

@gedowangvs97
 "postTokenBalances": [
        {
          "accountIndex": 1,
          "mint": "8eqjXybUCv9gJ5nCP2Vu7idxLmhr3nmhouAovhRbiPjY",
          "owner": "79FLvmDuQ1spt7WZSgLnBZVeC6x74dmVEmGFYjxkqLqa",
          "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
          "uiTokenAmount": {
            "amount": "9999962083447700",
            "decimals": 8,
            "uiAmount": 99999620.834477,
            "uiAmountString": "99999620.834477"
          }
        },
        {
          "accountIndex": 2,
          "mint": "8eqjXybUCv9gJ5nCP2Vu7idxLmhr3nmhouAovhRbiPjY",
          "owner": "32ij5Xonqvy1nuv3ofGZWb4xqqu5hUMTAeQeh8yxZoyW",
          "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
          "uiTokenAmount": {
            "amount": "9000557800",
            "decimals": 8,
            "uiAmount": 90.005578,
            "uiAmountString": "90.005578"
          }
        }
      ],

missing the owner and programId attributes

@Getter
@ToString
public static class TokenBalance {

    @Json(name = "accountIndex")
    private Double accountIndex;

    @Json(name = "mint")
    private String mint;

    @Json(name = "uiTokenAmount")
    private TokenResultObjects.TokenAmountInfo uiTokenAmount;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions