Last active
January 26, 2021 13:10
-
-
Save bogdan/e91817c876799aa96757a3d6f647f8a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /resellers/<name>/txs/messageToSign | |
type MetaTxMethod = 'resolveTo' | 'reconfigure' | 'setMany' | 'transferFrom'; | |
type MetaTxParams<T extends MetaTxMethod> = { | |
keys: string[], | |
values: string[], | |
} | {to: string} | | |
Req: { | |
method: MetaTxMethod, | |
domain: string, | |
params: MetaTxParams<T> | |
} | |
Res: { | |
message: string, | |
domain: string, | |
namehash: string, | |
} | |
POST /resellers/<name>/txs/meta | |
Req: { | |
method: MetaTxMethod, | |
domain: string | |
signature: string, | |
params: MetaTxParams, | |
} | |
Res: { | |
tx: {StandardSerialization} | |
} | |
{ | |
errors: [] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment