Skip to content

Commit 7910305

Browse files
authored
Merge pull request #371 from pedrouid/caip27-capabilities
CAIP-27: Add capabilities when invoking methods
2 parents 09321b4 + 6fc29b2 commit 7910305

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

CAIPs/caip-27.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ discussions-to: https://github.com/ChainAgnostic/CAIPs/pull/27
66
status: Draft
77
type: Standard
88
created: 2020-12-12
9-
updated: 2024-08-12
9+
updated: 2025-08-08
1010
requires: 2, 25, 171, 217, 316
1111
---
1212

@@ -60,6 +60,15 @@ The application would interface with an JSON-RPC provider to make request as fol
6060
"gasPrice": "0x4a817c800"
6161
}
6262
]
63+
},
64+
"capabilities": {
65+
"atomic": {
66+
"status": "supported"
67+
},
68+
"paymasterService": {
69+
"url": "https://...",
70+
"optional": true
71+
}
6372
}
6473
}
6574
}
@@ -72,6 +81,7 @@ The JSON-RPC method is labeled as `wallet_invokeMethod` and expects three parame
7281
- **request** (required) - an object containing the fields:
7382
- **method** (required) - the JSON-RPC method to invoke (previously authorized for the targeted network)
7483
- **params** (required) - JSON-RPC parameters to invoke (may be empty but must be set)
84+
- **capabilities** (optional) - an object containing metadata pertaining to a capability announced by the wallet in the [CAIP-25][] return object, to be invoked with this method
7585

7686
### Validation
7787

0 commit comments

Comments
 (0)