Re-usable components built using Radix UI and Tailwind CSS.
This endpoint allows you to perform an update on an attachment. Currently, the only supported type of update is changing the filename.
alias
The domain alias for the new user account
attestion
The attestion response from the browser navigator.credentials.create()
accounts
The newly created account.
jwt
The User JWT access token for authorizing the current user session. This is used for the Accounts, Mailbox, and Transactions endpoints.
curl https://core.build/service/localhost/register/finish \ -H 'Attestion: {attestion}' \ -d alias=test.snr
{
"accounts": [{
"address": "idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9",
"did": "did:sonr:idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9",
"coin_type": "CoinType_SONR",
"public_key": "A369J+Syr2wOZKuwlQ5QPSS7+t8X0M26+MoCeBsi1DYq",
"type": "Sonr/ecdsa-secp256k1"
}],
"did": "did:sonr:idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9",
"jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkaWQiOiJkaWQ6c29ucjppZHgxd3c2MnVocDB5NjlhOWNnend3aHBnZzJlYXdkYXhycGtweGo2djkiLCJ1c2VybmFtZSI6InRlc3RlciJ9.A9YbAvl-qw_KvTIHYiu5vCHKl91azJyeb-R6ku7vd30",
"primary": {
"context": [
"https://www.w3.org/ns/did/v1",
"https://docs.sonr.io/identity/1.0"
],
"id": "did:sonr:idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9",
"verification_method": [{
"id": "did:sonr:idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9",
"type": "secp256k1",
"blockchain_account_id": "idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9"
},
{
"id": "did:key:OWQk-MTBBl58ggZtf71PzsBXQFY",
"type": "webauthn/alg-es256",
"controller": "did:sonr:idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9",
"public_key_multibase": "2DLtZ9GymDo1ptTt2yQH8YDw3njAoa9tV554FjDGAbWAJzhMWLWkEkJUN1GT4F8LwXrMf3HeovqX3d8z4MU4p1o7aHsUfUGG88bM1bwL3F",
"metadata": [{
"key": "attestion_type",
"value": "none"
}]
}
],
"authentication": [
"did:key:OWQk-MTBBl58ggZtf71PzsBXQFY"
],
"assertion_method": [
"did:sonr:idx1ww62uhp0y69a9cgzwwhpgg2eawdaxrpkpxj6v9"
],
"also_known_as": [
"tester"
]
},
"success": true,
"tx_hash": "5E02A1CF3BA4756CFBAB90F35F1F699949DC7A824F40B9F023C9E8A45D3B6B70"
}