Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions relay_rpc/src/rpc/params/session_settle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ pub struct SessionSettleRequest {
///
/// Expiry should be between .now() + TTL.
pub expiry: u64,
// TODO: There doesn't seem to be a sessionProperties field as per the spec: https://specs.walletconnect.com/2.0/specs/clients/sign/rpc-methods#wc_sessionsettle
// Instead, there is an optional specialNamespaces field that's missing.
Comment on lines +40 to +41
Copy link
Collaborator

@borngraced borngraced Jun 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some implementations uses it like keplr WalletConnect

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but why isn't such a field in the spec??
i found a field with the same name somewhere else but it already has a completely different data/structure.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm...session_properties takes an arbitrary value, so it's unto you to know what the wallet you're targeting includes in theirs

pub session_properties: Option<Value>,
}

Expand Down
Loading