3

In the signers block of an Account response:

"signers": [
  {
    "public_key": "GBH25RYXAEDKPZUIMC5VJBKNYRUULY5B2LH5NVG6Q3RZPHK5KPFBZX7T",
    "weight": 1,
    "key": "GBH25RYXAEDKPZUIMC5VJBKNYRUULY5B2LH5NVG6Q3RZPHK5KPFBZX7T",
    "type": "ed25519_public_key"
  }
]

Under what circumstances would key and public_key differ?

4

They wouldn't necessarily differ, but public_key is deprecated, most likely since we have other types of signers now, in addition to just ed25519 keys (which are public keys).

https://github.com/stellar/go/blob/d121c23554421abeb33273ef74114a30c41b409e/services/horizon/internal/docs/reference/resources/account.md

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.