Get trait implementation details

Determine whether or not a specified trait is implemented (either explicitly or implicitly) within a given contract.


GET
/v2/traits/{contract_address}/{contract_name}/{trait_contract_address}/{trait_contract_name}/{trait_name}

Get trait implementation details

Determine whether or not a specified trait is implemented (either explicitly or implicitly) within a given contract.

Status codeDescription
200Success
/v2/traits/{contract_address}/{contract_name}/{trait_contract_address}/{trait_contract_name}/{trait_name}
Terminal
$
curl -X GET "http://localhost:20443/v2/traits/%7Bcontract_address%7D/%7Bcontract_name%7D/%7Btrait_contract_address%7D/%7Btrait_contract_name%7D/%7Btrait_name%7D"

GET request to get trait implementation information

{
"is_implemented": true
}