type RequestOrangeScoreReq struct {
AppDid string `json:"appDid"` // DID of your dApp
Data RequestOrangeScoreData `json:"data"` // request data, specified as below
Sig string `json:"sig"` // signature: dApp's DID signed with its private key
type RequestOrangeScoreData struct {
Userdid string `json:"userDid"` // DID of the user
Apdid string `json:"apdid"` // DID of the MP
Apmethod string `json:"apmethod"` // MP method name
Dpdid string `json:"dpdid"` // DID of the DP
Dpmethod string `json:"dpmethod"` // DP method name
overwriteOld bool `json:"overwriteOld"` // whether override existing task
Wallets []*UserWallet `json:"wallets"` // user's wallet details, specified as below
Chain string `json:"chain"` // name of the chain
Address string `json:"address"` // linked wallet address
Pubkey string `json:"pubkey"` // wallet public key
Sig string `json:"sig"` // signature: user's DID signed with their private key