To validate the wallet address and ensure the network is supported by the organization, the system returns a message prompting the user to generate a signature using MetaMask. Both Solana and Ethereum networks are supported.
Sample query
query ($orgID: UUID1!, $walletAddress: String!, $networkID: UUID1!) {
getSignatureMessage(
orgID: $orgID
walletAddress: $walletAddress
networkID: $networkID
)
}
Sample variable
{
"orgID": "f2f5c627-5421-4c40-9913-edfd09dd98b3",
"walletAddress": "0xa77915a574e1f9b88db152525ceBfEAA8c71bAa4",
"networkID": "c41db347-0ee3-4212-943a-ca213b8e0ea8"
}
{
"orgId": "0db10bbf-85fe-4c87-911b-d18f8568fc07",
"networkID": "51987430-77d2-4633-99c3-100cdd9952c7",
"walletAddress": "DWtAGjRsXghPAynsG6QyjkvwbGGcdm4PSnW7xx3Sud7d"
}
Sample response
{
"data": {
"getSignatureMessage": "This message is used for signature validation for organization demo-org and wallet address 0xa77915a574e1f9b88db152525ceBfEAA8c71bAa4 at 2024-14-18T07:37:00Z"
}
}
{
"data": {
"getSignatureMessage": "This message is used for signature validation for organization demo-org and wallet address DWtAGjRsXghPAynsG6QyjkvwbGGcdm4PSnW7xx3Sud7d at 2025-01-17T07:12:50Z"
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
orgID | UUID | The organization ID. | Yes |
walletAddress | String | User metamask/ Phantom/ Backpack connected wallet address | Yes |
networkiD | UUID | The network ID(Solana/Ethereum) | Yes |
Field
Name | Type | Description |
---|---|---|
N/A | String | The signature message. Contains the organization name and a timestamp. |