Create ECDSA TSS challenge for message

post/api/v2/wallet/{walletId}/txrequests/{id}/messages/{messageIdx}/challenge

Create the challenge required for signing ECDSA transactions. You must call this endpoint before calling Create a signature share for the transaction request.

Path Parameters

  • walletIdstringRequired
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$
  • idstringRequired
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$
  • messageIdxstringRequired

Request Body

paillierModulus string required
The 'n' value from an ECDSA wallets paillier public key. Retrieved from xShare.n.

201 Response

ntilde string required
Range proof challenge value.
Example: f6219cfbe968bfb4284ba393f7e01447a70a9b7ef364eb1036248c1cd3098ef10fbf2e5cbf6edf89796b2ea90faa96628d6b3495782ea523d9cc7eaf5738090a44ce96eb0d18741e7f0bf9b43a950521e915785a86e2938e5ba578e36a2619bc4b101c5e29f567ce916ab8f5bba67877354d9dcc390955a404965021ae12d3dbcc1d6836c8e5ad2056a28fda4d6316e35cf1870cf9053d804c23eba8e2e1509fb840a1e1ff9556b3d95bd47ab9fd795fc0ad5caf2d1e1a58b08e4dbf45ce25d27d8c653c3a2b3085db02ea0ef14170a625572c345609beaddd198350ec76a26db79c003cfd697171b21d4c6e49c03ffdc93ff2738175a6456083e77b18b5655357f406e24432c190c9b7ad7b4507ee339c7e5130ba354df1284a0477b375d07955849024761d07a3e1ee42bf71c9975c13b533313c0c3cd5ad9533d14481c4216a60bdb7f17c0614e85836c6d2f0ee4abaa4f9afc97d1b0e7cf5b22a65f237c1d36d5ae5e5d8e1d9aca4d67fd3fda7933fe09eb37b7c327948c1c4b8cdc99e85
h1 string required
Range proof challenge value.
Example: 71efca979802ceb98d3b1f8642ff1705b41e7d2e4178cf953a201c8ef1459ee7c66e6eba30a685b8a31f6dc1249118cd689efadd85079c7040ef6003503275ffec8b1e04d972ebddb77020230ba84fdbeb0fe0b9668c8e0f87897cfc519c88e625ab9baab803355e795bc327a4ed8d7192658eecf76be62f05dfc50ca99d016acbe11f2dc94060fbbbb472321b7ea63b88542ae1e8ab7b745ca2cbec9eb39a138c90032833f3902de4ec35d4523b0aa43c119e35c2d920d46d59ce7a6fa383747727d54115ce62b64500f2c2e8a3c434cdc49168c620653f37b95de0dd2720e8a16360eafb2884021c9c414f55ace77362b0a8840bdd64f262b880231a097ea5318c9bd6f8d8943359b5019ac8ae4e42a4cd4e9352a5b98f5899c317366ae0b135eec932422e886ec6ce3766b80762ed1e0ed07cd2be48adf6b7b61352268f17ad6de567a8636445bfea2af721ba9165bfc3e8514df9b3596769ce9f13472a95566bfdfcfffc42fc9267af02a9b9201826982a43d2222a6d9e0729e729df8ec0
h2 string required
Range proof challenge value.
Example: e8be92b67d852d83c4e57a4c25139cbab1801654408c4260ca21d480ea5425a7a7778b30d52c24eed11363a6f7bf1efa986747a2016b91e84b9a7d49b723644f4488ec15c64d83289b1fa73a6607544a2c1964d31931ae9c0f4b5c66a0099f82d52a73d4d7a251a29f279c7f053cc0064989479d9b6d900e92641555683efadad5f08a68a6763102a7a14d4d5aecc6620587ceedb28db338858326fdad35e1b2db54b8a7679d8cad36d88c63c61aff15121c6ec06a724e16980fd334cdbbea8885f88e8a509a42b093361e3152bcf391e3a723ceb4786362fcad9c4945a372d617bebe077e1c7ee49ac81701c06ef126e1178b779f1f4be4b1a3616c3c1821b26ead5cc7b1442216162077fb125a4c9250001797e3a224c79f5cd5a78226a9192000bc584bf479aa1dd83d56628860619778a0c6d9801e2680349ccde39e604af6f1e75226c58d6f608c420eb8091def8d3c7a9a59414e9b9a1df542929c81165a46555f5f51c1cb080f04a9ccc74a5d1e3b053e1e2e4b8566d1a7995478a589
p array[string] required
Paillier proof challenge value.
Example: e8be92b67d852d83c4e57a4c25139cbab1801654408c4260ca21d480ea5425a7a7778b30d52c24eed11363a6f7bf1efa986747a2016b91e84b9a7d49b723644f4488ec15c64d83289b1fa73a6607544a2c1964d31931ae9c0f4b5c66a0099f82d52a73d4d7a251a29f279c7f053cc0064989479d9b6d900e92641555683efadad5f08a68a6763102a7a14d4d5aecc6620587ceedb28db338858326fdad35e1b2db54b8a7679d8cad36d88c63c61aff15121c6ec06a724e16980fd334cdbbea8885f88e8a509a42b093361e3152bcf391e3a723ceb4786362fcad9c4945a372d617bebe077e1c7ee49ac81701c06ef126e1178b779f1f4be4b1a3616c3c1821b26ead5cc7b1442216162077fb125a4c9250001797e3a224c79f5cd5a78226a9192000bc584bf479aa1dd83d56628860619778a0c6d9801e2680349ccde39e604af6f1e75226c58d6f608c420eb8091def8d3c7a9a59414e9b9a1df542929c81165a46555f5f51c1cb080f04a9ccc74a5d1e3b053e1e2e4b8566d1a7995478a589
n string required
BitGo's paillier modulus 'n'.
Example: aaf19cbfb67436e12bd77080ceb98a2d38bbbd6739da5c9bb76a41f6e6f8d04544e28dbb21d7930a6e15ae62fe84d17ac91bd84cfa24dc81dc98b2e91f07fdc6e7346ff31fe794d75652a17cd84fb817caade116bacfa7aee324d5881f44f616b5270c39b849dba0da9aaa740275c5416224d1f0cd1af776c8d709f65f72e7ffde5cefab0b6559fb96f04f8fe3a0d48197446b3ec47db82963f78bf25f71ec7883e5eda7dd2d74f683e8c6570be5eed060190d17d1b5236ed72567bee35a7e0cf5463e839db22e632b4ccc49cab3d2d9d86f0740d983115b078693847a8160eb2bed70bb0c8946d35e10f9d03cedab1afe95489ccf3414ba7e72471266b6c1950a09c723d84251f400ca3a3998c670d8352b968c9a6582709617d1157e4667fe3728ba6f329183334fb69e3f2f0e31037761dc8a547f8676f702f3670e9631c8d14c2b6acf8a83646d61d817955d8898e60fe74e4f2eb4a8a3112cd457960efb240f5b78e7f41b14f16127929502c72b3b239f0daa27b3901d6fbdb62d834ff9

400 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code

401 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code

403 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code

404 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code