curl --request GET \
--url https://api.onchainden.com/api/v1/admins/proposals \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "prop_abc",
"resourceType": "members",
"action": "create",
"signatureStatus": "pendingInitiatorSignature",
"executionStatus": null,
"threshold": 2,
"approvals": [
{
"id": "mem_123",
"name": "Alice",
"type": "user",
"walletAddress": "<string>"
}
],
"rejections": [
{
"id": "mem_123",
"name": "Alice",
"type": "user",
"walletAddress": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"data": {
"members": [
{
"id": "mem_123",
"name": "Alice",
"type": "user",
"walletAddress": "<string>"
}
],
"threshold": 2
},
"signingPayloads": {
"approvePayload": "<string>",
"rejectPayload": "<string>",
"initiatorPayload": "<string>"
},
"result": {
"resolution": "approved",
"resources": [
{
"type": "member",
"id": "mem_new1",
"uri": "/api/v1/members/mem_new1"
}
]
}
}
}Returns the current queued admin proposal (only one can exist at a time).
curl --request GET \
--url https://api.onchainden.com/api/v1/admins/proposals \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "prop_abc",
"resourceType": "members",
"action": "create",
"signatureStatus": "pendingInitiatorSignature",
"executionStatus": null,
"threshold": 2,
"approvals": [
{
"id": "mem_123",
"name": "Alice",
"type": "user",
"walletAddress": "<string>"
}
],
"rejections": [
{
"id": "mem_123",
"name": "Alice",
"type": "user",
"walletAddress": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"data": {
"members": [
{
"id": "mem_123",
"name": "Alice",
"type": "user",
"walletAddress": "<string>"
}
],
"threshold": 2
},
"signingPayloads": {
"approvePayload": "<string>",
"rejectPayload": "<string>",
"initiatorPayload": "<string>"
},
"result": {
"resolution": "approved",
"resources": [
{
"type": "member",
"id": "mem_new1",
"uri": "/api/v1/members/mem_new1"
}
]
}
}
}