object The wallet login request information | |
object (SignUpResponseDto) |
{- "signIn": {
- "siwsPayload": {
- "message": "0x1234567890abcdef",
- "signature": "0x64f8dd8846ba72cbb1954761ec4b2e44b886abb4b4ef7455b869355f17b4ce4a601ad26eabc57a682244a97bc9a2001b59469ae76fea105b724e988967d4928d"
}, - "err": {
- "message": "Error message"
}
}, - "signUp": {
- "extrinsics": [
- {
- "pallet": "string",
- "extrinsicName": "string",
- "encodedExtrinsic": "0x00112233"
}
], - "error": {
- "message": "Some error"
}
}
}
{- "referenceId": "string",
- "msaId": "string",
- "publicKey": "string"
}
accountId required | string Example: 1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N AccountId in hex or SS58 format |
{- "msaId": "string",
- "handle": {
- "base_handle": "string",
- "canonical_base": "string",
- "suffix": 0
}
}
accountId required | string Example: 1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N AccountId in hex or SS58 format |
{- "encodedExtrinsic": "0x1234",
- "payloadToSign": "0x1234",
- "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N"
}
encodedExtrinsic required | string Hex-encoded representation of the "RetireMsa" extrinsic |
payloadToSign required | string payload to be signed |
accountId required | string AccountId in hex or SS58 format |
signature required | string signature of the owner |
{- "encodedExtrinsic": "0x1234",
- "payloadToSign": "0x1234",
- "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
- "signature": "0x01065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
}
{- "referenceId": "string"
}
credentials | Array of strings Example: credentials=VerifiedGraphKeyCredential&credentials=VerifiedEmailAddressCredential&credentials=VerifiedPhoneNumberCredential List of credentials using the types: "VerifiedGraphKeyCredential", "VerifiedEmailAddressCredential", and "VerifiedPhoneNumberCredential". Note that Contact related verifiable credentials will be nested into an anyOf request form. |
permissions | Array of strings Example: permissions=dsnp.broadcast@v2&permissions=dsnp.private-follows@v1&permissions=dsnp.reply@v2&permissions=dsnp.reaction@v1&permissions=dsnp.tombstone@v2&permissions=dsnp.update@v2&permissions=frequency.default-token-address@v1 The list of permissions using the Frequency Schema names and versions. Pattern: |
callbackUrl required | string Example: callbackUrl=http://localhost:3000/login/callback The URL that will be called when the authentication process is completed |
{- "signedRequest": "eyJyZXF1ZXN0ZWRTaWduYXR1cmVzIjp7InB1YmxpY0tleSI6eyJlbmNvZGVkVmFsdWUiOiJmNmNMNHdxMUhVTngxMVRjdmRBQk5mOVVOWFhveUg0N21WVXdUNTl0elNGUlc4eURIIiwiZW5jb2RpbmciOiJiYXNlNTgiLCJmb3JtYXQiOiJzczU4IiwidHlwZSI6IlNyMjU1MTkifSwic2lnbmF0dXJlIjp7ImFsZ28iOiJTcjI1NTE5IiwiZW5jb2RpbmciOiJiYXNlMTYiLCJlbmNvZGVkVmFsdWUiOiIweDA0MDdjZTgxNGI3Nzg2MWRmOTRkMTZiM2ZjYjMxN2QzN2EwN2FiYzJhN2Y5Y2Q3YzAyY2MyMjUyOWVlN2IzMmQ1Njc5NWY4OGJkNmI0YWQxMDZiNzJiOTFiNjI0NmE3ODM2NzFiY2QyNGNiMDFhYWYwZTkzMTZkYjVlMGNkMDg1In0sInBheWxvYWQiOnsiY2FsbGJhY2siOiJodHRwOi8vbG9jYWxob3N0OjMwMDAiLCJwZXJtaXNzaW9ucyI6WzUsNyw4LDksMTBdfX0sInJlcXVlc3RlZENyZWRlbnRpYWxzIjpbeyJ0eXBlIjoiVmVyaWZpZWRHcmFwaEtleUNyZWRlbnRpYWwiLCJoYXNoIjpbImJjaXFtZHZteGQ1NHp2ZTVraWZ5Y2dzZHRvYWhzNWVjZjRoYWwydHMzZWV4a2dvY3ljNW9jYTJ5Il19LHsiYW55T2YiOlt7InR5cGUiOiJWZXJpZmllZEVtYWlsQWRkcmVzc0NyZWRlbnRpYWwiLCJoYXNoIjpbImJjaXFlNHFvY3poZnRpY2k0ZHpmdmZiZWw3Zm80aDRzcjVncmNvM29vdnd5azZ5NHluZjQ0dHNpIl19LHsidHlwZSI6IlZlcmlmaWVkUGhvbmVOdW1iZXJDcmVkZW50aWFsIiwiaGFzaCI6WyJiY2lxanNwbmJ3cGMzd2p4NGZld2NlazVkYXlzZGpwYmY1eGppbXo1d251NXVqN2UzdnUydXducSJdfV19XX0",
- "frequencyRpcUrl": "wss://1.rpc.frequency.xyz",
}
authorizationCode | string The code returned from the SIWF v2 Authentication service that can be exchanged for the payload. Required unless an |
authorizationPayload | string The SIWF v2 Authentication payload as a JSON stringified and base64url encoded value. Required unless an |
{- "authorizationCode": "680a0a68-6d3b-4d6d-89b7-0b01a6f7e86f",
- "authorizationPayload": "ew0KICAidXNlclB1YmxpY0tleSI6IHsNCiAgICAiZW5jb2RlZFZhbHVlIjogIjVIWUhaOGU4a3lMRUJ1RWJzRmEyYndLWWJWU01nYVVoeW1mUlZnSDdDdU00VkNIdiIsDQogICAgImVuY29kaW5nIjogImJhc2U1OCIsDQogICAgImZvcm1hdCI6ICJzczU4IiwNCiAgICAidHlwZSI6ICJTcjI1NTE5Ig0KICB9LA0KICAidXNlcktleXMiOiBbDQogICAgew0KICAgICAgImVuY29kZWRQdWJsaWNLZXlWYWx1ZSI6ICIweGJkODk2ZmQ1NTAxZWVhMjU5ZjQ3OTg0MTVjOWZhNDQ3ZDU4ODIwZDk5YjkyNDA2NzFhNmYzNGYwYmMwM2IwMzAiLA0KICAgICAgImVuY29kZWRQcml2YXRlS2V5VmFsdWUiOiAiMHhmODExNWQzZTUwYzg2MTYzODZmMDY2ZjY1OTdlZmYwYzU3MGQ2N2M3ZTVjZDkzNjU1Njg4NGJjYzk5NDNmNDY0IiwNCiAgICAgICJlbmNvZGluZyI6ICJiYXNlMTYiLA0KICAgICAgImZvcm1hdCI6ICJiYXJlIiwNCiAgICAgICJ0eXBlIjogIlgyNTUxOSIsDQogICA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vb2YiOiB7DQogICAgICAgICJ0eXBlIjogIkRhdGFJbnRlZ3JpdHlQcm9vZiIsDQogICAgICAgICJ2ZXJpZmljYXRpb25NZXRob2QiOiAiZGlkOndlYjp0ZXN0bmV0LmZyZXF1ZW5jeWFjY2Vzcy5jb20jejZNa3c0eVg0YzJaM3NlU1NkblI5c3ZFTjZGdjdVa1U4anJOUE1rTXd0WkNvQVZHIiwNCiAgICAgICAgImNyeXB0b3N1aXRlIjogImVkZHNhLXJkZmMtMjAyMiIsDQogICAgICAgICJwcm9vZlB1cnBvc2UiOiAiYXNzZXJ0aW9uTWV0aG9kIiwNCiAgICAgICAgInByb29mVmFsdWUiOiAiejI5YWRmdG5lSG5LeHdSOWI3Z3RSanlrTFJlR0VwdU1pWTljS0hWQ0JTejZtWThjd0ZaaUZpQVdaSGV4R3R2Qjh0YmRwZmoyRzQzeFF6dFJ6dFdhd21IRjIiDQogICAgICB9DQogICAgfQ0KICBdDQp9"
}
{- "controlKey": "f6cL4wq1HUNx11TcvdABNf9UNXXoyH47mVUwT59tzSFRW8yDH",
- "msaId": "314159265358979323846264338",
- "email": "user@example.com",
- "phoneNumber": "555-867-5309",
- "graphKey": "555-867-5309",
- "rawCredentials": [
- {
- "type": [
- "VerifiedEmailAddressCredential",
- "VerifiableCredential"
], - "issuer": "did:web:frequencyaccess.com",
- "validFrom": "2024-08-21T21:28:08.289+0000",
- "credentialSchema": {
- "type": "JsonSchema",
}, - "credentialSubject": {
- "id": "did:key:z6QNucQV4AF1XMQV4kngbmnBHwYa6mVswPEGrkFrUayhttT1",
- "emailAddress": "john.doe@example.com",
- "lastVerified": "2024-08-21T21:27:59.309+0000"
}, - "proof": {
- "type": "DataIntegrityProof",
- "verificationMethod": "did:web:frequencyaccess.com#z6MkofWExWkUvTZeXb9TmLta5mBT6Qtj58es5Fqg1L5BCWQD",
- "cryptosuite": "eddsa-rdfc-2022",
- "proofPurpose": "assertionMethod",
- "proofValue": "z4jArnPwuwYxLnbBirLanpkcyBpmQwmyn5f3PdTYnxhpy48qpgvHHav6warjizjvtLMg6j3FK3BqbR2nuyT2UTSWC"
}
}, - {
- "type": [
- "VerifiedGraphKeyCredential",
- "VerifiableCredential"
], - "issuer": "did:key:z6QNucQV4AF1XMQV4kngbmnBHwYa6mVswPEGrkFrUayhttT1",
- "validFrom": "2024-08-21T21:28:08.289+0000",
- "credentialSchema": {
- "type": "JsonSchema",
}, - "credentialSubject": {
- "id": "did:key:z6QNucQV4AF1XMQV4kngbmnBHwYa6mVswPEGrkFrUayhttT1",
- "encodedPublicKeyValue": "0xb5032900293f1c9e5822fd9c120b253cb4a4dfe94c214e688e01f32db9eedf17",
- "encodedPrivateKeyValue": "0xd0910c853563723253c4ed105c08614fc8aaaf1b0871375520d72251496e8d87",
- "encoding": "base16",
- "format": "bare",
- "type": "X25519",
- "keyType": "dsnp.public-key-key-agreement"
}, - "proof": {
- "type": "DataIntegrityProof",
- "verificationMethod": "did:key:z6MktZ15TNtrJCW2gDLFjtjmxEdhCadNCaDizWABYfneMqhA",
- "cryptosuite": "eddsa-rdfc-2022",
- "proofPurpose": "assertionMethod",
- "proofValue": "z2HHWwtWggZfvGqNUk4S5AAbDGqZRFXjpMYAsXXmEksGxTk4DnnkN3upCiL1mhgwHNLkxY3s8YqNyYnmpuvUke7jF"
}
}
]
}
accountId required | string Example: 1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N AccountId in hex or SS58 format |
providerId required | string Example: 1 Msa Id of provider |
{- "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
- "providerId": "3",
- "encodedExtrinsic": "0x1234",
- "payloadToSign": "0x1234"
}
accountId required | string AccountId in hex or SS58 format |
providerId required | string MSA Id of the provider to whom the requesting user wishes to delegate |
encodedExtrinsic required | string Hex-encoded representation of the "revokeDelegation" extrinsic |
payloadToSign required | string payload to be signed |
signature required | string signature of the owner |
{- "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
- "providerId": "3",
- "encodedExtrinsic": "0x1234",
- "payloadToSign": "0x1234",
- "signature": "0x01065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
}
{- "referenceId": "string"
}
msaId required | string Example: 3 MSA Id of the user requesting the delegation |
{- "msaId": "string",
- "delegations": [
- {
- "providerId": "string",
- "schemaDelegations": [
- {
- "schemaId": 0,
- "revokedAtBlock": 0
}
], - "revokedAtBlock": 0
}
]
}
msaId required | string Example: 3 MSA Id of the user requesting the delegation |
providerId | string Example: 1 MSA Id of the provider to whom the requesting user wishes to delegate |
{- "msaId": "string",
- "delegations": [
- {
- "providerId": "string",
- "schemaDelegations": [
- {
- "schemaId": 0,
- "revokedAtBlock": 0
}
], - "revokedAtBlock": 0
}
]
}
accountId required | string AccountId in hex or SS58 format |
required | object (HandlePayloadDto) |
proof required | string proof is the signature for the payload |
{- "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
- "payload": {
- "baseHandle": "handle",
- "expiration": 1
}, - "proof": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
}
{- "referenceId": "string"
}
accountId required | string AccountId in hex or SS58 format |
required | object (HandlePayloadDto) |
proof required | string proof is the signature for the payload |
{- "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
- "payload": {
- "baseHandle": "handle",
- "expiration": 1
}, - "proof": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
}
{- "referenceId": "string"
}
msaOwnerAddress required | string msaOwnerAddress representing the target of this request |
msaOwnerSignature required | string msaOwnerSignature is the signature by msa owner |
newKeyOwnerSignature required | string newKeyOwnerSignature is the signature with new key |
required | object (KeysRequestPayloadDto) |
{- "msaOwnerAddress": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
- "msaOwnerSignature": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85",
- "newKeyOwnerSignature": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85",
- "payload": {
- "msaId": "3",
- "expiration": 1,
- "newPublicKey": "0x0ed2f8c714efcac51ca2325cfe95637e5e0b898ae397aa365978b7348a717d0b"
}
}
{- "referenceId": "string"
}
msaId required | string Example: msaId=3 MSA Id representing the target of this request |
newKey required | string Example: newKey=0x0ed2f8c714efcac51ca2325cfe95637e5e0b898ae397aa365978b7348a717d0b New public key to be added to the account (32-byte value in hex format) |
{- "payload": {
- "actions": [
- {
- "type": "ADD_ITEM",
- "encodedPayload": "0x1122"
}
], - "schemaId": 1,
- "targetHash": 1234,
- "expiration": 1
}, - "encodedPayload": "0x1234"
}
accountId required | string AccountId in hex or SS58 format |
required | object (ItemizedSignaturePayloadDto) |
proof required | string proof is the signature for the payload |
{- "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
- "payload": {
- "actions": [
- {
- "type": "ADD_ITEM",
- "encodedPayload": "0x1122"
}
], - "schemaId": 1,
- "targetHash": 1234,
- "expiration": 1
}, - "proof": "0x065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
}
{- "referenceId": "string"
}