Skip to content

Commit

Permalink
Merge pull request #5 from consensys-vertical-apps/MMI-adds-custodian…
Browse files Browse the repository at this point in the history
…_listAccountsSigned

MMI - updates custodian_listAccounts and adds custodian_listAccountsSigned
  • Loading branch information
zone-live authored Oct 13, 2023
2 parents cd83760 + 3caee91 commit cc3621b
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion src/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,45 @@
"name": "wallet-name",
"value": "My Ethereum Wallet"
}
]
],
"metadata": {
"active": true,
"deleted": false,
"isContract": false
}
}
]
}
}
]
},
{
"name": "custodian_listAccountsSigned",
"summary": "Returns a signed message containing the list of accounts",
"params": [],
"result": {
"name": "jwt",
"schema": {
"title": "jwt",
"type": "string",
"items": {
"$ref": "#/components/schemas/jwt"
}
}
},
"examples": [
{
"name": "Returning an account",
"params": [],
"result": {
"name": "custodianListAccountsSignedExampleResult",
"value": {
"jwt": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTYiLCJpc3MiOiJleGFtcGxlLmNvbSJ9.IlBfD4xmjpQiQCrkiIwIztEHrEH7e7RuswWPbIlJwUI"
}
}
}
]
},
{
"name": "custodian_listAccountChainIds",
"summary": "Returns the chain IDs supported for a specific account",
Expand Down Expand Up @@ -808,6 +840,15 @@
"$ref": "#/components/schemas/Label"
}
},
"metadata": {
"title": "metadata",
"type": "object",
"items": {
"active": "boolean",
"deleted": "boolean",
"isContract": "boolean"
}
},
"name": {
"title": "name",
"type": "string"
Expand Down

0 comments on commit cc3621b

Please sign in to comment.