package com.tykj.dev.blockcha.conf;


/**
 * 区块链提供的url
 *
 * @author LJJ cnljj1995@gmail.com
 * on 2020-08-18
 */
public interface BcUrl {

    /**
     * 区块链状态查询
     */
    String GET_STATUS = "/blockchain/state";
    /**
     * 业务类型码注册
     */
    String SUB_CODE_REGISTER = "/blockchain/subcode/register";
    /**
     * 文本上链
     */
    String SEND_TEXT = "/blockchain/send/text";
    /**
     * 哈希上链
     */
    String SEND_HASH = "/blockchain/send/hash";
    /**
     * 记录查询
     */
    String FETCH_RECORD = "/blockchain/fetch/record";
    /**
     * 记录批量查询
     */
    String FETCH_HISTORY = "/blockchain/fetch/history";
    /**
     * 文本追加更新
     */
    String APPEND_TEXT = "/blockchain/append/text";
    /**
     * 哈希追加更新
     */
    String APPEND_HASH = "/blockchain/append/hash";
    /**
     * 文本防篡改校验
     */
    String VERIFY_TEXT = "/blockchain/verify/text";
    /**
     * 哈希防篡改校验
     */
    String VERIFY_HASH = "/blockchain/verify/text";

}
