When you run NODE_ENV=mainnet near keys account.near you get your public key, but there is also several other keys which are some generic wallet things. One of the keys was in this format:
{
public_key: 'ed25519:XXXXXXX',
access_key: {
nonce: 0,
permission: {
FunctionCall: {
allowance: '0',
receiver_id: 'XXXX',
method_names: [ '__wallet__metadata', [length]: 1 ]
}
}
}
},
Can you please explain what are these keys used for and how it works?